Lines Matching refs:q
130 /** @var \dokuwiki\Form\InputElement $q */
131 $q = $searchForm->getElementAt($searchForm->findPositionByAttribute('name', 'q'));
132 $q->val($this->originalQuery);
221 $event->data['resultHeader'][] = $this->getSettingsLink('#' . $tag, 'q', '#' . $tag);
275 $results .= $this->getSettingsLink('#' . $tag, 'q', '#' . $tag);
300 * @param string $q
302 public static function removeTagsFromQuery(&$q)
304 $q = preg_replace('/#\w+/u', '', $q);
320 * If the passed parameter is q, its value will be REPLACED.
340 } elseif ($param === 'q') {
341 return preg_replace('/q=[^&\'" ]*/', 'q=' . urlencode($value), $linkTag);