Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 17 of 17) sorted by relevance

/dokuwiki/vendor/splitbrain/php-jsstrip/src/
DJSStrip.php34 protected $idx = 0; variable in splitbrain\\JSStrip\\JSStrip
48 $idx = 0; // char index for input string
53 $this->idx = &$idx;
61 while ($idx < $slen) {
65 while ($idx < $slen && (strpos(self::CHARS, $source[$idx]) === false)) {
66 $result .= $source[$idx];
67 $idx = $idx + 1;
70 $ch = $source[$idx];
72 if ($ch == '/' && $source[$idx + 1] == '*' && $source[$idx + 2] != '@') {
73 $endC = strpos($source, '*/', $idx + 2);
[all …]
/dokuwiki/vendor/splitbrain/lesserphp/src/Functions/
DLists.php37 [$list, $idx] = Asserts::assertArgs($value, 2, 'extract');
38 $idx = Asserts::assertNumber($idx);
40 if ($list[0] == 'list' && isset($list[2][$idx - 1])) {
41 return $list[2][$idx - 1];
/dokuwiki/lib/plugins/config/core/Setting/
DSettingMulticheckbox.php59 $idx = array_search($choice, $value);
62 $checked = ($idx !== false) ? 'checked="checked"' : '';
65 $class = (($idx !== false) === (false !== $idx_default)) ? " selectiondefault" : "";
76 if ($idx !== false) unset($value[$idx]);
118 $idx = [];
120 if (($idx[] = array_search($val, $array)) === false) break;
123 if (count($idx) && $idx[count($idx) - 1] !== false) {
124 foreach ($idx as $i) unset($array[$i]);
152 $idx = array_search($key, $array);
153 if ($idx !== false) {
[all …]
/dokuwiki/inc/
Dindexer.php256 * @param string $idx
260 function idx_getIndex($idx, $suffix) argument
263 $fn = $conf['indexdir'] . '/' . $idx . $suffix . '.idx';
294 $idx = [];
296 $idx[] = (int)$length;
298 return $idx;
308 $idx = [];
313 $idx[] = (int)$i;
317 sort($idx);
321 @fwrite($handle, implode("\n", $idx));
[all …]
Dfulltext.php193 foreach (array_keys($result) as $idx) {
196 isHiddenPage($result[$idx]) || auth_quickaclcheck($result[$idx]) < AUTH_READ
197 )) || !page_exists($result[$idx], '', false)
199 unset($result[$idx]);
227 foreach (array_keys($result) as $idx) {
230 isHiddenPage($result[$idx]) || auth_quickaclcheck($result[$idx]) < AUTH_READ
231 )) || !page_exists($result[$idx], '', false)
233 unset($result[$idx]);
338 foreach (array_keys($pages) as $idx) {
340 !isVisiblePage($idx) || !page_exists($idx) ||
[all …]
Dconfutils.php491 $idx = array_search(trim(substr($val, 1)), $current);
492 if ($idx !== false) {
493 unset($current[$idx]);
DAjax.php339 $idx = new Index();
340 echo html_buildlist($data, 'idx', [$idx,'formatListItem'], [$idx,'tagListItem']);
/dokuwiki/inc/Extension/
DSyntaxPlugin.php122 $idx = array_search(substr(get_class($this), 7), (array)$this->allowedModes, true);
123 if ($idx !== false) {
124 unset($this->allowedModes[$idx]);
/dokuwiki/lib/tpl/dokuwiki/css/
D_toc.css76 .dokuwiki ul.idx {
79 [dir=rtl] .dokuwiki ul.idx {
82 .dokuwiki ul.idx li {
85 .dokuwiki ul.idx li.open {
88 .dokuwiki ul.idx li.closed {
91 [dir=rtl] .dokuwiki ul.idx li.closed {
/dokuwiki/vendor/splitbrain/php-cli/src/
DTableFormatter.php121 $idx = 0;
127 foreach ($columns as $idx => $col) {
140 $fluid = $idx;
153 foreach ($columns as $idx => $col) {
161 $columns[$idx] = $real;
172 $columns[$idx] += ($remain); // add to last column
/dokuwiki/inc/Parsing/Lexer/
DParallelRegex.php126 $idx = count($matches) - 2;
127 … [$pre, $post] = preg_split($this->patterns[$idx] . $this->getPerlMatchingFlags(), $subject, 2);
130 return $this->labels[$idx] ?? true;
/dokuwiki/inc/Search/
DIndexer.php59 $idx = ($wid < count($index)) ? $index[$wid] : '';
60 $index[$wid] = $this->updateTuple($idx, $pid, $freq);
992 * @param string $idx name of the index
998 protected function getIndex($idx, $suffix) argument
1001 $fn = $conf['indexdir'] . '/' . $idx . $suffix . '.idx';
1009 * @param string $idx name of the index
1016 protected function saveIndex($idx, $suffix, &$lines) argument
1019 $fn = $conf['indexdir'] . '/' . $idx . $suffix;
1035 * @param string $idx name of the index
1042 protected function getIndexKey($idx, $suffix, $id) argument
[all …]
/dokuwiki/lib/plugins/logviewer/
Dscript.js14 $dl.find('dt').each(function (idx, elem) { argument
/dokuwiki/inc/Remote/
DApiCore.php297 foreach (array_keys($pages) as $idx) {
298 $perm = auth_quickaclcheck($pages[$idx]);
299 if ($perm < AUTH_READ || isHiddenPage($pages[$idx]) || !page_exists($pages[$idx])) {
303 $page = new Page($pages[$idx], 0, 0, '', null, $perm);
332 $idx = 0;
334 if ($idx < FT_SNIPPET_NUMBER) {
336 $idx++;
/dokuwiki/vendor/simplepie/simplepie/idn/
Didna_convert.class.php388 $idx = 0;
392 for ($old_idx = $idx, $w = 1, $k = $this->_base; 1 ; $k += $this->_base) {
394 $idx += $digit * $w;
400 $bias = $this->_adapt($idx - $old_idx, $deco_len + 1, $is_first);
402 $char += (int) ($idx / ($deco_len + 1));
403 $idx %= ($deco_len + 1);
406 for ($i = $deco_len; $i > $idx; $i--) {
410 $decoded[$idx++] = $char;
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
DASN1.php849 * @param int $idx
853 private static function encode_der($source, array $mapping, $idx = null, array $special = []) argument
864 if (isset($idx)) {
865 if (isset($special[$idx])) {
866 $source = $special[$idx]($source);
868 self::$location[] = $idx;
977 if (isset($idx)) {
1060 if (isset($idx)) {
1117 if (isset($idx)) {
/dokuwiki/lib/scripts/jquery/
Djquery-ui.min.js6idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,ty… property