Lines Matching defs:parsedQuery
10 protected $parsedQuery = [];
15 * @param array $parsedQuery
17 public function __construct(array $parsedQuery)
21 $this->parsedQuery = $parsedQuery;
22 if (!isset($parsedQuery['after'])) {
23 $this->parsedQuery['after'] = $INPUT->str('min');
25 if (!isset($parsedQuery['before'])) {
26 $this->parsedQuery['before'] = $INPUT->str('max');
28 if (!isset($parsedQuery['sort'])) {
29 $this->parsedQuery['sort'] = $INPUT->str('srt');
43 $parsedQuery = $this->parsedQuery;
44 $parsedQuery['ns'] = $ns ? [$ns] : [];
45 $parsedQuery['notns'] = $notns;
47 return new SearchState($parsedQuery);
61 $parsedQuery = $this->parsedQuery;
62 $parsedQuery['and'] = $and;
63 $parsedQuery['not'] = $not;
64 $parsedQuery['phrases'] = $phrases;
66 return new SearchState($parsedQuery);
79 $parsedQuery = $this->parsedQuery;
80 $parsedQuery['after'] = $after;
81 $parsedQuery['before'] = $before;
83 return new SearchState($parsedQuery);
95 $parsedQuery = $this->parsedQuery;
96 $parsedQuery['sort'] = $sort;
98 return new SearchState($parsedQuery);
114 $parsedQuery = $this->parsedQuery;
121 $parsedQuery['and'],
122 $parsedQuery['not'],
123 $parsedQuery['phrases'],
124 $parsedQuery['ns'],
125 $parsedQuery['notns']
128 if ($parsedQuery['after']) {
129 $hrefAttributes['min'] = $parsedQuery['after'];
131 if ($parsedQuery['before']) {
132 $hrefAttributes['max'] = $parsedQuery['before'];
134 if ($parsedQuery['sort']) {
135 $hrefAttributes['srt'] = $parsedQuery['sort'];