function SelectQueryExtender::extend
Overrides QueryExtendableInterface::extend
File
-
includes/
database/ select.inc, line 666
Class
- SelectQueryExtender
- The base extender class for Select queries.
Code
public function extend($extender_name) {
// The extender can be anywhere so this needs to go to the registry, which
// is surely loaded by now.
$class = $this->connection
->getDriverClass($extender_name, array(), TRUE);
return new $class($this, $this->connection);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.