public function PagerSelectExtender::__construct
public PagerSelectExtender::__construct(SelectInterface $query, Connection $connection)
Overrides SelectExtender::__construct
File
- core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php, line 47
Class
- PagerSelectExtender
- Query extender for pager queries.
Namespace
Drupal\Core\Database\QueryCode
public function __construct(SelectInterface $query, Connection $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'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Query!PagerSelectExtender.php/function/PagerSelectExtender::__construct/8.1.x