Lines Matching refs:namespaces
104 'namespaces to which the search shall be restricted' => 'array',
106 'if the namespaces shall be searched recursively' => 'boolean'
363 * @param array $namespaces array of namespaces where to count the tags
369 public function tagOccurrences($tags, $namespaces = null, $allTags = false, $isRecursive = null) {
376 // $namespaces not specified
377 if(!$namespaces || $namespaces[0] == '' || !is_array($namespaces)) {
378 $namespaces = null;
384 $isRootAllowed = !($namespaces === null) && in_array('.', $namespaces);
401 if ($namespaces == null || ($isRootAllowed && $isRecursive)) {
409 if (($ns === false && $isRootAllowed) || in_array($ns, $namespaces)) {
416 foreach ($namespaces as $ns) {