.

IDBWhere Interface Reference
[Interfaces]

Interface to represent a where statement. More...

Inheritance diagram for IDBWhere:
DBWhere DBWhereGroup DBJoinCondition DBWhereFulltext

List of all members.

Public Member Functions

  get_column ()
  Returns column.
  get_logical_operator ()
  Return logical operator (AND or OR).
  get_operator ()
  Returns the operator (=, >=, LIKe etc.
  get_table ()
  Returns table assigned.
  get_value ()
  Returns the value.

Public Attributes

const  LOGIC_AND = 'AND'
const  LOGIC_OR = 'OR'
const  OP_IN = 'IN'
const  OP_IN_SET = 'IN_SET'
  Check wheter given value is set on bitflag field.
const  OP_IS_NULL = 'IS NULL'
const  OP_LIKE = 'LIKE'
const  OP_NOT_IN = 'NOT IN'
const  OP_NOT_IN_SET = 'NOT_IN_SET'
  Check wether given value is not set on bitflag field.
const  OP_NOT_NULL = 'IS NOT NULL'

Detailed Description

Interface to represent a where statement.

Author:
Gerd Riesselmann

Definition at line 10 of file idbwhere.cls.php.


Member Function Documentation

IDBWhere::get_column (  ) 

Returns column.

May also be null.

Returns:
string

Implemented in DBWhere, and DBWhereGroup.

IDBWhere::get_logical_operator (  ) 

Return logical operator (AND or OR).

Returns:
string

Implemented in DBWhere, and DBWhereGroup.

IDBWhere::get_operator (  ) 

Returns the operator (=, >=, LIKe etc.

) May also be NULL

Returns:
string

Implemented in DBWhere, and DBWhereGroup.

IDBWhere::get_table (  ) 

Returns table assigned.

Returns:
IDBTable

Implemented in DBWhere, and DBWhereGroup.

IDBWhere::get_value (  ) 

Returns the value.

May also be NULL

Returns:
mixed

Implemented in DBWhere, and DBWhereGroup.


Member Data Documentation

const IDBWhere::LOGIC_AND = 'AND'

Definition at line 11 of file idbwhere.cls.php.

const IDBWhere::LOGIC_OR = 'OR'

Definition at line 12 of file idbwhere.cls.php.

const IDBWhere::OP_IN = 'IN'

Definition at line 14 of file idbwhere.cls.php.

const IDBWhere::OP_IN_SET = 'IN_SET'

Check wheter given value is set on bitflag field.

Definition at line 23 of file idbwhere.cls.php.

const IDBWhere::OP_IS_NULL = 'IS NULL'

Definition at line 17 of file idbwhere.cls.php.

const IDBWhere::OP_LIKE = 'LIKE'

Definition at line 16 of file idbwhere.cls.php.

const IDBWhere::OP_NOT_IN = 'NOT IN'

Definition at line 15 of file idbwhere.cls.php.

const IDBWhere::OP_NOT_IN_SET = 'NOT_IN_SET'

Check wether given value is not set on bitflag field.

Definition at line 27 of file idbwhere.cls.php.

const IDBWhere::OP_NOT_NULL = 'IS NOT NULL'

Definition at line 18 of file idbwhere.cls.php.


The documentation for this interface was generated from the following file: