Lines Matching refs:opts

94         $opts = explode(' ', $optsStr);
97 $context = $this->hasOption($defaults, $opts, 'context');
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')) {
172 $rsort = $this->hasOption($defaults, $opts, 'rsort');
194 //check opts for nojs,#theme or js,js#theme
196 if (in_array('nojs', $opts)) {
203 } elseif ($js = in_array('js', $opts)) {
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');
322 [ //3=opts
347 * @param array $opts array of options provided via syntax
351 private function hasOption($defaultsOpts, $opts, $optionName)
361 return !in_array($inverseName, $opts);
363 return in_array($name, $opts);
413 //opts for search(): level, nons, nopg, subnss, max, maxajax, js, skipns, skipfile, skipnscombined,
415 $opts = $data[3];
432 if ($opts['js'] & $conf['defer_js']) {
441 if ($js_dTreeOpts['navbar'] && !$opts['js']) {
448 $opts['subnss'][] = [$currentNS, 1];
455 foreach ($opts['subnss'] as $key => $value) {
456 $opts['subnss'][$key][0] = $this->parseNs($value[0], $INFO['id']);
461 $html = $this->buildHtmlIndexmenu($ns, $js_dTreeOpts, $sort, $opts, $jsVersion);
472 if (!($js_dTreeOpts['navbar'] && !$opts['js']) && !$js_dTreeOpts['context']) {
492 * @param array $opts entries of opts for search(): level, nons, nopg, nss, max, maxajax, js, skipns, skipfile,
499 private function buildHtmlIndexmenu($ns, $js_dTreeOpts, $sort, $opts, $jsVersion)
503 $opts['tempNew'] = false;
505 $nodes = $search->search($ns, $opts);
511 if ($opts['js']) {
516 $output_js .= $this->builddTree($nodes, $ns, $js_dTreeOpts, $js_name, $opts['max']);
519 $output_js .= $this->buildFancyTree($js_name, $ns, $opts, $sort);
544 private function buildFancyTree($js_name, $ns, $opts, $sort)
548 unset($opts['headpage']);
549 unset($opts['hide_headpage']);
550 unset($opts['js']); //always true
551 unset($opts['skipnscombined']);
552 unset($opts['skipfilecombined']);
555 if ($opts['theme'] == 'default') {
556 $opts['theme'] = 'win7';
560 'opts' => $opts,
565 return '<div id="tree2_' . $js_name . '" class="indexmenu_js2 skin-' . $opts['theme'] . '"'