1 select.inc public SelectQueryExtender::__construct(SelectQueryInterface $query, DatabaseConnection $connection)

Creates a SelectQueryExtender object.

Parameters

SelectQueryInterface $query: The query to be extended.

DatabaseConnection $connection: The database connection for the given query.

File

core/includes/database/select.inc, line 602
Contains classes and interfaces for Select queries.

Class

SelectQueryExtender
The base extender class for Select queries.

Code

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