function SelectQuery::extend
Overrides QueryExtendableInterface::extend
File
-
includes/
database/ select.inc, line 1170
Class
- SelectQuery
- Query builder for SELECT statements.
Code
public function extend($extender_name) {
$override_class = $extender_name . '_' . $this->connection
->driver();
if (class_exists($override_class)) {
$extender_name = $override_class;
}
return new $extender_name($this, $this->connection);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.