InExpression Class Reference
[Logical expressions used in OSQL and Form]

Name says it all. More...

Inheritance diagram for InExpression:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($left, $right, $logic)
 toMapped (StorableDAO $dao, JoinCapableQuery $query)
 
Returns:
InExpression

 toDialectString (Dialect $dialect)
 toBoolean (Form $form)

Public Attributes

const IN = 'IN'
const NOT_IN = 'NOT IN'

Private Attributes

 $left = null
 $right = null
 $logic = null


Detailed Description

Name says it all.

:-)

Definition at line 18 of file InExpression.class.php.


Constructor & Destructor Documentation

InExpression::__construct ( left,
right,
logic 
)

Definition at line 27 of file InExpression.class.php.

References $left, $logic, $right, and Assert::isTrue().

Here is the call graph for this function:


Member Function Documentation

InExpression::toMapped ( StorableDAO dao,
JoinCapableQuery query 
)

Returns:
InExpression

Implements MappableObject.

Definition at line 48 of file InExpression.class.php.

References $right, and ProtoDAO::guessAtom().

Here is the call graph for this function:

InExpression::toDialectString ( Dialect dialect  ) 

Implements DialectString.

Definition at line 67 of file InExpression.class.php.

References $right, and SQLArray::create().

Here is the call graph for this function:

InExpression::toBoolean ( Form form  ) 

Implements LogicalObject.

Definition at line 96 of file InExpression.class.php.

References $left, $right, and Form::toFormValue().

Here is the call graph for this function:


Member Data Documentation

const InExpression::IN = 'IN'

Definition at line 20 of file InExpression.class.php.

Referenced by Expression::in().

const InExpression::NOT_IN = 'NOT IN'

Definition at line 21 of file InExpression.class.php.

Referenced by Expression::notIn().

InExpression::$left = null [private]

Definition at line 23 of file InExpression.class.php.

Referenced by __construct(), and toBoolean().

InExpression::$right = null [private]

Definition at line 24 of file InExpression.class.php.

Referenced by __construct(), toBoolean(), toDialectString(), and toMapped().

InExpression::$logic = null [private]

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

Referenced by __construct().


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:47 2007 for onPHP by  doxygen 1.5.4