function PagerDefault::__construct
Overrides SelectQueryExtender::__construct
File
-
includes/
pager.inc, line 45
Class
- PagerDefault
- Query extender for pager queries.
Code
public function __construct(SelectQueryInterface $query, DatabaseConnection $connection) {
parent::__construct($query, $connection);
// Add pager tag. Do this here to ensure that it is always added before
// preExecute() is called.
$this->addTag('pager');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.