Lines Matching refs:opt

50         $opt    = [];
56 $opt['query'] = $params[0];
59 $opt['border'] = 'none'; // show borders around entire list and/or between columns
60 $opt['bullet'] = 'none'; // bullet style for list items
61 $opt['casesort'] = false; // allow case sorting
62 $opt['cols'] = 1; // number of displayed columns (fixed for table layout, max for column layout
63 $opt['dformat'] = "%d %b %Y"; // general display date format
64 $opt['display'] = 'name'; // how page links should be displayed
65 $opt['filter'] = []; // filtering by metadata prior to sorting
66 $opt['fontsize'] = ''; // base fontsize of pagequery; best to use %
67 $opt['fullregex'] = false; // power-user regex search option--file name only
68 $opt['fulltext'] = false; // search full-text; including file contents
69 $opt['group'] = false; // group the results based on sort headings
70 $opt['hidejump'] = false; // hide the jump to top link
71 $opt['hidemsg'] = false; // hide any error messages
72 $opt['hidestart'] = false; // hide start pages
73 $opt['label'] = ''; // label to put at top of the list
74 $opt['layout'] = 'table'; // html layout type: table (1 col = div only) or columns (html 5 only)
75 $opt['limit'] = 0; // limit results to certain number
76 $opt['maxns'] = 0; // max number of namespaces to display (i.e. ns depth)
77 $opt['natsort'] = false; // allow natural case sorting
78 $opt['proper'] = 'none'; // display file names in Proper Case
79 $opt['showcount'] = false; // show the count of links found
80 $opt['snippet'] = ['type' => 'none', 'count' => 0, 'extent' => '']; // show content snippets/abstracts
81 $opt['sort'] = []; // sort by various headings
82 $opt['spelldate'] = false; // spell out date headings in words where possible
83 $opt['underline'] = false; // faint underline below each link for clarity
84 $opt['nstitle'] = false; // internal use currently...
100 $opt[$option] = true;
104 $opt[$option] = abs($value);
128 $opt[$option][$key] = $expr;
136 $opt['proper'] = 'header';
140 $opt['proper'] = 'name';
143 $opt['proper'] = 'both';
147 $opt['cols'] = ($value > self::MAX_COLS) ? self::MAX_COLS : $value;
155 $opt['border'] = $value;
158 $opt['border'] = 'both';
164 $opt['snippet']['type'] = $default;
168 $type = (empty($options[0])) ? $opt['snippet']['type'] : $options[0];
169 $count = (empty($options[1])) ? $opt['snippet']['count'] : $options[1];
170 $extent = (empty($options[2])) ? $opt['snippet']['extent'] : $options[2];
176 $opt['snippet'] = ['type' => $type, 'count' => $count, 'extent' => $extent];
181 $opt[$option] = $value;
186 $opt['display'] = 'name';
191 $opt['display'] = 'title';
192 $opt['nstitle'] = true;
196 $opt['display'] = 'id';
199 $opt['display'] = $value;
202 $opt['nstitle'] = true;
209 $opt['layout'] = $value;
213 $opt['fontsize'] = $value;
218 return $opt;