Generic class for a series of conditions in a query.

Hierarchy

Expanded class hierarchy of DatabaseCondition

Related topics

File

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

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
DatabaseCondition::$arguments protected property Array of arguments.
DatabaseCondition::$changed protected property Whether the conditions have been changed.
DatabaseCondition::$conditions protected property Array of conditions.
DatabaseCondition::$queryPlaceholderIdentifier protected property The identifier of the query placeholder this condition has been compiled against.
DatabaseCondition::$stringVersion protected property The string version of a query after it has been built.
DatabaseCondition::arguments public function Implements QueryConditionInterface::arguments(). Overrides QueryConditionInterface::arguments
DatabaseCondition::compile public function Implements QueryConditionInterface::compile(). Overrides QueryConditionInterface::compile
DatabaseCondition::compiled public function Implements QueryConditionInterface::compiled(). Overrides QueryConditionInterface::compiled
DatabaseCondition::condition public function Implements QueryConditionInterface::condition(). Overrides QueryConditionInterface::condition
DatabaseCondition::conditions public function Implements QueryConditionInterface::conditions(). Overrides QueryConditionInterface::conditions
DatabaseCondition::count public function
DatabaseCondition::ensureBrackets protected function Ensures that the value being tested against is bracketed.
DatabaseCondition::exists public function Implements QueryConditionInterface::exists(). Overrides QueryConditionInterface::exists
DatabaseCondition::isNotNull public function Implements QueryConditionInterface::isNotNull(). Overrides QueryConditionInterface::isNotNull
DatabaseCondition::isNull public function Implements QueryConditionInterface::isNull(). Overrides QueryConditionInterface::isNull
DatabaseCondition::mapConditionOperator protected function Gets any special processing requirements for the condition operator.
DatabaseCondition::notExists public function Implements QueryConditionInterface::notExists(). Overrides QueryConditionInterface::notExists
DatabaseCondition::where public function Implements QueryConditionInterface::where(). Overrides QueryConditionInterface::where
DatabaseCondition::__clone function PHP magic __clone() method.
DatabaseCondition::__construct public function Constructs a DataBaseCondition object.
DatabaseCondition::__toString public function Implements PHP magic __toString method to convert the conditions to string.