1 select.inc | public SelectQuery::hasAllTags($tags) |
Determines if a given query has all specified tags.
Parameters
string ...$tags: A variable number of arguments, one for each tag to check.
Return value
bool: TRUE if this query has been marked with all specified tags, FALSE otherwise.
Overrides QueryAlterableInterface::hasAllTags
File
- core/
includes/ database/ select.inc, line 1220 - Contains classes and interfaces for Select queries.
Class
- SelectQuery
- Query builder for SELECT statements.
Code
public function hasAllTags($tags) {
return !(boolean) array_diff($tags, array_keys($this->alterTags));
}