XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Condition Class Reference
Inheritance diagram for Condition:
ConditionSubquery ConditionWithArgument ConditionWithoutArgument

Public Member Functions

 __construct ($column_name, $argument, $operation, $pipe)
 
 getArgument ()
 
 toString ($withValue=true)
 
 toStringWithoutValue ()
 
 toStringWithValue ()
 
 setPipe ($pipe)
 
 show ()
 
 getConditionPart ($value)
 

Public Attributes

 $column_name
 
 $argument
 
 $operation
 
 $pipe
 
 $_value
 
 $_show
 
 $_value_to_string
 

Detailed Description

Definition at line 9 of file Condition.class.php.

Constructor & Destructor Documentation

Condition::__construct (   $column_name,
  $argument,
  $operation,
  $pipe 
)

constructor

Parameters
string$column_name
mixed$argument
string$operation
string$pipe
Returns
void

Definition at line 44 of file Condition.class.php.

Member Function Documentation

Condition::getArgument ( )

Definition at line 52 of file Condition.class.php.

Condition::getConditionPart (   $value)

Return condition string

Parameters
int | string | array$value
Returns
string

Definition at line 186 of file Condition.class.php.

Condition::setPipe (   $pipe)

Definition at line 100 of file Condition.class.php.

Condition::show ( )
Returns
boolean

Definition at line 108 of file Condition.class.php.

Condition::toString (   $withValue = true)

value to string

Parameters
boolean$withValue
Returns
string

Definition at line 62 of file Condition.class.php.

Condition::toStringWithoutValue ( )

change string without value

Returns
string

Definition at line 86 of file Condition.class.php.

Condition::toStringWithValue ( )

change string with value

Returns
string

Definition at line 95 of file Condition.class.php.

Member Data Documentation

Condition::$_show

Definition at line 33 of file Condition.class.php.

Condition::$_value

Definition at line 32 of file Condition.class.php.

Condition::$_value_to_string

Definition at line 34 of file Condition.class.php.

Condition::$argument

Definition at line 17 of file Condition.class.php.

Condition::$column_name

Definition at line 16 of file Condition.class.php.

Condition::$operation

Definition at line 25 of file Condition.class.php.

Condition::$pipe

Definition at line 31 of file Condition.class.php.


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