Lines Matching defs:query
12 protected $query;
31 $this->query = $QUERY;
47 $searchHTML = $this->getSearchIntroHTML($this->query);
49 $searchHTML .= $this->getSearchFormHTML($this->query);
61 * @param string $query
65 protected function getSearchFormHTML($query)
83 $searchForm->addTextInput('q')->val($query)->useInput(false);
148 * Check if the query is simple enough to modify its namespace limitations without breaking the rest of the query
156 if (preg_match('/[\(\)\|]/', $parsedQuery['query']) === 1) {
164 * Check if the query is simple enough to modify the fragment search behavior without breaking the rest of the query
172 if (preg_match('/[\(\)\|]/', $parsedQuery['query']) === 1) {
447 * @param string $query the search query
451 protected function getSearchIntroHTML($query)
466 [hsc(rawurlencode($query)), hsc($query), $pagecreateinfo],
472 * Create a pagename based the parsed search query
476 * @return string pagename constructed from the parsed query
480 $cleanedQuery = cleanID($parsedQuery['query']); // already strtolowered
481 if ($cleanedQuery === PhpString::strtolower($parsedQuery['query'])) {
604 * create a link to restrict the current query to a namespace
606 * @param false|string $ns the namespace to which to restrict the query