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\Query

Code

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');
}
doc_Drupal
2016-10-29 09:33:03
Comments
Leave a Comment

Please login to continue.