function SelectQuery::hasTag
Determines if a given query has a given tag.
Parameters
$tag: The tag to check.
Return value
TRUE if this query has been marked with this tag, FALSE otherwise.
Overrides QueryAlterableInterface::hasTag
File
-
includes/
database/ select.inc, line 1000
Class
- SelectQuery
- Query builder for SELECT statements.
Code
public function hasTag($tag) {
return isset($this->alterTags[$tag]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.