public function hasCategoryValues($values)
    {
        $tagValues = $this->getCategoryValues(true);
        foreach ($this->filterCategoryValues($values) as $value) {
            if (!in_array($value, $tagValues)) {
                return false;
            }
        }
        return true;
    }
public function hasCategoryValues($values)
    {
        $tagValues = $this->getCategoryValues(true);
        foreach ($this->filterCategoryValues($values) as $value) {
            if (!in_array($value, $tagValues)) {
                return false;
            }
        }
        return true;
    }
public function hasCategoryValues ( $ values ) { $ tagValues = $ this -> getCategoryValues ( true ) ; foreach ( $ this -> filterCategoryValues ( $ values ) as $ value ) { if ( ! in_array ( $ value , $ tagValues ) ) { return false ; } } return true ; }
Returns a value indicating whether categories exists.
@param string|string[] $values
@return boolean
Returns a value indicating whether categories exists .