You are here

public function QueryAlterableInterface::getMetaData in Drupal 7

Retrieves a given piece of metadata.

Parameters

$key: The unique identifier for the piece of metadata to retrieve.

Return value

The previously attached metadata object, or NULL if one doesn't exist.

2 methods override QueryAlterableInterface::getMetaData()
SelectQuery::getMetaData in includes/database/select.inc
Retrieves a given piece of metadata.
SelectQueryExtender::getMetaData in includes/database/select.inc
Retrieves a given piece of metadata.

File

includes/database/query.inc, line 247
Non-specific Database query code. Used by all engines.

Class

QueryAlterableInterface
Interface for a query that can be manipulated via an alter hook.

Code

public function getMetaData($key);