You are here

public function SelectExtender::__construct in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/SelectExtender.php \Drupal\Core\Database\Query\SelectExtender::__construct()
  2. 9 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
Constructs a PagerSelectExtender object.
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
Constructs a PagerSelectExtender object.
TableSortExtender::__construct in core/lib/Drupal/Core/Database/Query/TableSortExtender.php

File

core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 40

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;
}