public function PagerActivity::__construct in Heartbeat 7
Overrides SelectQueryExtender::__construct
File
- ./
heartbeat.module, line 1179 - Module file for heartbeat activity. Basic hook implementations and helper functions will be found here.
Class
- PagerActivity
- Query extender for heartbeat 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');
}