Lines Matching refs:options
81 $options = [
94 $options['start'] = $this->getFullPageid($value);
115 $options['includeheadings'] = [$start, $end];
118 $options['numbers'] = !empty($value);
121 $options['useheading'] = !empty($value);
124 $options['hidepagelink'] = !empty($value);
128 if ($options['hidepagelink'] && $options['includeheadings'] === false) {
129 $options['includeheadings'] = [1, 2];
131 return $options;
139 * @param array $options data created by handler()
142 public function render($format, Doku_Renderer $renderer, $options)
154 $pageid = $options['start'];
160 $pageitem['type'] = $options['includeheadings'] === false ? 'pageonly' : 'pagewithheadings'; //page or heading
162 $pageitem['ordered'] = $options['numbers'];
164 if ($options['useheading']) {
173 if ($options['hidepagelink']) {
183 if (!empty($options['includeheadings'])) {
188 if ($tocitem['level'] < $options['includeheadings'][0] || $tocitem['level'] > $options['includeheadings'][1]) {
194 if ($options['hidepagelink'] && $first) {
202 $item['level'] = $tocitemlevel + $tocitem['level'] - $options['includeheadings'][0];
237 if ($options['hidepagelink'] ? isset($recursioncheck[$nextpageid]) : isset($list[$nextpageid])) {