You are here

public function SelectExtender::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::__construct()
2 calls to SelectExtender::__construct()
PagerSelectExtender::__construct in core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php
TableSortExtender::__construct in core/lib/Drupal/Core/Database/Query/TableSortExtender.php
2 methods override SelectExtender::__construct()
PagerSelectExtender::__construct in core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php
TableSortExtender::__construct in core/lib/Drupal/Core/Database/Query/TableSortExtender.php

File

core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 41
Contains \Drupal\Core\Database\Query\SelectExtender.

Class

SelectExtender
The base extender class for Select queries.

Namespace

Drupal\Core\Database\Query

Code

public function __construct(SelectInterface $query, Connection $connection) {
  $this->uniqueIdentifier = uniqid('', TRUE);
  $this->query = $query;
  $this->connection = $connection;
}