public function QueryAlterableInterface::getMetaData

7.x query.inc public QueryAlterableInterface::getMetaData($key)

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 drupal/includes/database/select.inc
Retrieves a given piece of metadata.
SelectQueryExtender::getMetaData in drupal/includes/database/select.inc
Retrieves a given piece of metadata.

File

drupal/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);