1 pager.class.inc | public PagerDefault::__construct(SelectQueryInterface $query, DatabaseConnection $connection) |
Overrides SelectQueryExtender::__construct
File
- core/
includes/ pager.class.inc, line 42
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');
}