public function QueryConditionInterface::compile

cis7 query.inc public QueryConditionInterface::compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder)
cle7 query.inc public QueryConditionInterface::compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder)
elmsmedia7 query.inc public QueryConditionInterface::compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder)
icor7 query.inc public QueryConditionInterface::compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder)
meedjum_blog7 query.inc public QueryConditionInterface::compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder)
mooc7 query.inc public QueryConditionInterface::compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder)

Compiles the saved conditions for later retrieval.

This method does not return anything, but simply prepares data to be retrieved via __toString() and arguments().

Parameters

$connection: The database connection for which to compile the conditionals.

$queryPlaceholder: The query this condition belongs to. If not given, the current query is used.

6 methods override QueryConditionInterface::compile()
DatabaseCondition::compile in includes/database/query.inc
Implements QueryConditionInterface::compile().
DeleteQuery::compile in includes/database/query.inc
Implements QueryConditionInterface::compile().
MergeQuery::compile in includes/database/query.inc
Implements QueryConditionInterface::compile().
SelectQuery::compile in includes/database/select.inc
Compiles the saved conditions for later retrieval.
SelectQueryExtender::compile in includes/database/select.inc
Compiles the saved conditions for later retrieval.

... See full list

File

includes/database/query.inc, line 151
Non-specific Database query code. Used by all engines.

Class

QueryConditionInterface
Interface for a conditional clause in a query.

Code

public function compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder);
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.