Lines Matching refs:this

18  * need to inherit from this class
53 $this->Lexer->addSpecialPattern('{{indexmenu>.+?}}', $mode, 'plugin_indexmenu_indexmenu');
87 $defaultsStr = $this->getConf('defaultoptions');
97 $context = $this->hasOption($defaults, $opts, 'context');
107 //context should parse this later in correct context
109 $subns_lvl[0] = $this->parseNs($subns_lvl[0]);
132 $ns = $this->parseNs($ns);
137 $nocookie = $context || $this->hasOption($defaults, $opts, 'nocookie');
140 $noscroll = $this->hasOption($defaults, $opts, 'noscroll');
142 $navbar = $this->hasOption($defaults, $opts, 'navbar');
144 $nons = $this->hasOption($defaults, $opts, 'nons');
146 $nopg = $this->hasOption($defaults, $opts, 'nopg');
148 $notoc = $this->hasOption($defaults, $opts, 'notoc');
150 $nomenu = $this->hasOption($defaults, $opts, 'nomenu');
152 $tsort = $this->hasOption($defaults, $opts, 'tsort');
153 $dsort = $this->hasOption($defaults, $opts, 'dsort');
162 $nsort = $this->hasOption($defaults, $opts, 'nsort');
164 $hsort = $this->hasOption($defaults, $opts, 'hsort');
166 if ($msort = $this->hasOption($defaults, $opts, 'msort')) {
168 } elseif ($value = $this->getOption($defaultsStr, $optsStr, '/msort#(\S+)/u')) {
172 $rsort = $this->hasOption($defaults, $opts, 'rsort');
220 $gen_id = $this->getOption($defaultsStr, $optsStr, '/id#(\S+)/u');
224 if ($matched_lvl_sublvl = $this->getOption($defaultsStr, $optsStr, $matchPattern, true)) {
237 if ($maxjs_lvl = $this->getOption($defaultsStr, $optsStr, '/maxjs#(\d+)/u')) {
241 $treeNew = $this->hasOption($defaults, $opts, 'treenew'); //overrides old and both
243 $treeOld = $this->hasOption($defaults, $opts, 'treeold'); //overrides both
245 $treeBoth = $this->hasOption($defaults, $opts, 'treeboth');
268 $skipNsCombined[] = $this->getConf('skip_index');
284 $skipFileCombined[] = $this->getConf('skip_file');
335 'headpage' => $this->getConf('headpage'),
336 'hide_headpage' => $this->getConf('hide_headpage'),
423 $this->getConf('only_admins') &&
454 $ns = $this->parseNs($ns, $INFO['id']);
456 $opts['subnss'][$key][0] = $this->parseNs($value[0], $INFO['id']);
461 $html = $this->buildHtmlIndexmenu($ns, $js_dTreeOpts, $sort, $opts, $jsVersion);
464 $html = $this->getConf('empty_msg');
473 //this is an indexmenu page that needs the PARSER_CACHE_USE event trigger;
516 $output_js .= $this->builddTree($nodes, $ns, $js_dTreeOpts, $js_name, $opts['max']);
519 $output_js .= $this->buildFancyTree($js_name, $ns, $opts, $sort);
523 $this->cleanNojsData($nodes);
526 $output .= $this->buildNoJSTree($nodes, $js_name, $js_dTreeOpts['jsAjax']);
534 // extra div needed when index is first element in sidebar of dokuwiki template, template uses this to
539 . html_buildlist($nodes, 'idx', [$this, 'formatIndexmenuItem'], [$idx, 'tagListItem'])
575 * @param string $js_name identifier for this index
594 $headpage = $this->getConf('headpage');
640 [$nodesArray, $openNodes] = $this->builddTreeNodes($nodes, $js_name);
665 * @param string $js_name identifier for this index
837 $markCurrentPage = $this->getConf('hide_headpage') && $item['hns'] == $INFO['id'];