public function TableSortExtender::__construct
public TableSortExtender::__construct(SelectInterface $query, Connection $connection)
Overrides SelectExtender::__construct
File
- core/lib/Drupal/Core/Database/Query/TableSortExtender.php, line 17
Class
- TableSortExtender
- Query extender class for tablesort queries.
Namespace
Drupal\Core\Database\QueryCode
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'); }
© 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!TableSortExtender.php/function/TableSortExtender::__construct/8.1.x