Generic class for a series of conditions in a query.
Hierarchy
- class DatabaseCondition implements \Countable, QueryConditionInterface
Expanded class hierarchy of DatabaseCondition
Related topics
File
- core/includes/ database/ query.inc, line 1708 
- Non-specific Database query code. Used by all engines.
Members
| Name   | Modifiers | Type | Description | 
|---|---|---|---|
| DatabaseCondition:: | protected | property | Array of arguments. | 
| DatabaseCondition:: | protected | property | Whether the conditions have been changed. | 
| DatabaseCondition:: | protected | property | Array of conditions. | 
| DatabaseCondition:: | protected | property | The name of the query placeholder this condition has been compiled against. | 
| DatabaseCondition:: | protected | property | The string version of a query after it has been built. | 
| DatabaseCondition:: | public | function | Gets a complete list of all values to insert into the prepared statement. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | Compiles the saved conditions for later retrieval. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | Check whether a condition has been previously compiled. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | Helper function: builds the most common conditional clauses. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | Gets a complete list of all conditions in this conditional clause. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | |
| DatabaseCondition:: | protected | function | Ensures that the value being tested against is bracketed. | 
| DatabaseCondition:: | public | function | Sets a condition that the specified subquery returns values. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | Sets a condition that the specified field be NOT NULL. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | Sets a condition that the specified field be NULL. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | protected | function | Gets any special processing requirements for the condition operator. | 
| DatabaseCondition:: | public | function | Sets a condition that the specified subquery returns no values. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | Adds an arbitrary WHERE clause to the query. Overrides QueryConditionInterface:: | 
| DatabaseCondition:: | public | function | PHP magic __clone() method. | 
| DatabaseCondition:: | public | function | Constructs a DataBaseCondition object. | 
| DatabaseCondition:: | public | function | Implements PHP magic __toString method to convert the conditions to string. | 
