Home
last modified time | relevance | path

Searched refs:tagExpression (Results 1 – 2 of 2) sorted by relevance

/plugin/tagfilter/
H A Dhelper.php59 * @param string $tagExpression regexp pattern of wanted tags e.g. "status:.*"
65 public function getTagsByRegExp($tagExpression, $ns = '', $aclSafe = false) argument
75 if ($this->matchesTagExpression($tagExpression, $tag) && $this->isTagInNamespace($tag, $ns, $aclSafe)) {
87 * @param string $tagExpression regexp pattern of wanted tags e.g. "status:.*"
91 public function matchesTagExpression($tagExpression, $tag) argument
93 return (bool)@preg_match('/^' . $tagExpression . '$/i', $tag);
256 * @param string $tagExpression regexp pattern of wanted tags e.g. "status:.*"
258 protected function addAndTag($tagExpression) argument
260 $tags = $this->getTagsByRegExp($tagExpression, $this->ps_ns);
277 * @param string $tagExpression regex
279 addSubTag($tagExpression) global() argument
297 addOrTag($tagExpression) global() argument
[all...]
/plugin/tagfilter/helper/
H A Dsyntax.php17 * key=>string 'tagExpression'
22 * - array $tagFilters with four arrays with same key for each tagExpression:
24 * key=>string 'tagExpression'
39 foreach ($tagFilters['tagExpression'] as $key => $tagExpression) { //build tag->pages relation
40 $tagFilters['pagesPerMatchedTags'][$key] = $Htagfilter->getPagesByMatchedTags($tagExpression, $opt['ns']);