Lines Matching refs:opt

50         $opt = array();
53 $opt['abstract'] = true; // show snippet (abstract) of page content
54 $opt['border'] = 'none'; // show borders around table and between columns
55 … $opt['cols'] = 1; // number of columns in a SubjectIndex display page (max=12)
56 …$opt['default'] = false; // whether this display index page is the default for this index …
57 $opt['hideatoz'] = false; // turn off the A,B,C main headings
58 $opt['proper'] = false; // use proper-case for page names
59 $opt['title'] = false; // use title (first heading) instead of page name
60 …$opt['section'] = 0; // which section to use and display (0-9)...hopefully 10 is enough
61 $opt['showorder'] = false; // display any bullet numbers used for ordering
62 $opt['label'] = ''; // table header label at top
63 $opt['regex'] = null; // a regex for filtering the index list
64 $opt['hidejump'] = false; // hide the 'jump to top' link
82 $opt[strtolower($key)] = true;
90 $opt['border'] = $value;
93 $opt['border'] = 'both';
102 $opt['cols'] = $value;
105 $opt['section'] = ($value < 0) ? 0 : $value;
109 $opt[$key] = $value;
115 if ($opt['default'] === true) {
116 SI_Utils::set_target_page($ID, $opt['section']);
118 return $opt;
122 function render($mode, Doku_Renderer $renderer, $opt) { argument
136 $section_entries = $all_entries->filtered($opt['section'], $opt['regex']);
138 … $lines = $this->_create_index($section_entries, $all_pages, $opt['hideatoz'], $opt['proper']);
139 $renderer->doc .= $this->_render_index($lines, $opt, $count);
235 private function _render_index($lines, $opt, $count){ argument
243 $outer_border = ($opt['border'] == 'outside' || $opt['border'] == 'both') ? 'border' : '';
244 … $inner_border = ($opt['border'] == 'inside' || $opt['border'] == 'both') ? 'inner-border' : '';
249 if ($opt['label'] != '') {
250 $label = '<h1 class="title">' . $opt['label'] . '</h1>' . DOKU_LF;
255 $cols = $opt['cols'];
265 if ($opt['showcount'] === true) {
268 if ($opt['hidejump'] === false) {
279 if ( ! $opt['showorder']) {
296 …$links .= $this->_render_wikilink($page, $opt['proper'], $opt['title'], $opt['abstract'], $anchor);