function SelectQuery::getMetaData
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 1019
Class
- SelectQuery
- Query builder for SELECT statements.
Code
public function getMetaData($key) {
return isset($this->alterMetaData[$key]) ? $this->alterMetaData[$key] : NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.