You are here

public function SelectQueryExtender::hasAnyTag in Drupal 7

Determines if a given query has any specified tag.

Parameters

$tags: A variable number of arguments, one for each tag to check.

Return value

TRUE if this query has been marked with at least one of the specified tags, FALSE otherwise.

Overrides QueryAlterableInterface::hasAnyTag

File

includes/database/select.inc, line 598

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function hasAnyTag() {
  $args = func_get_args();
  return call_user_func_array(array(
    $this->query,
    'hasAnyTag',
  ), $args);
}