You are here

public function DatabaseCondition::__construct in Drupal 7

Constructs a DataBaseCondition object.

Parameters

string $conjunction: The operator to use to combine conditions: 'AND' or 'OR'.

File

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

Class

DatabaseCondition
Generic class for a series of conditions in a query.

Code

public function __construct($conjunction) {
  $this->conditions['#conjunction'] = $conjunction;
}