1 query.inc | public DatabaseCondition::__construct($conjunction) |
Constructs a DataBaseCondition object.
Parameters
string $conjunction: The operator to use to combine conditions: 'AND' or 'OR'.
File
- core/
includes/ database/ query.inc, line 1754 - 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;
}