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