コード例 #1
0
 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');
 }
コード例 #2
0
 public function __construct(SelectInterface $query, Connection $connection)
 {
     parent::__construct($query, $connection);
     // Add convenience tag to mark that this is an extended query. We have to
     // do this in the constructor to ensure that it is set before preExecute()
     // gets called.
     $this->addTag('tablesort');
 }