1.20.x select.inc | public SelectQuery::extend($extender_name) |
Implements QueryExtendableInterface::extend().
Return value
Overrides QueryExtendableInterface::extend
File
- includes/
database/ select.inc, line 1249
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);
}