public function SelectQuery::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.
Overrides QueryAlterableInterface::getMetaData
File
- includes/
database/ select.inc, line 1001
Class
- SelectQuery
- Query builder for SELECT statements.
Code
public function getMetaData($key) {
return isset($this->alterMetaData[$key]) ? $this->alterMetaData[$key] : NULL;
}