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

Wrapper around given childs of LogicalObject with custom logic-glue's. More...

Inheritance diagram for LogicalChain:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 expAnd (LogicalObject $exp)
 
Returns:
LogicalChain

 expOr (LogicalObject $exp)
 
Returns:
LogicalChain

 toBoolean (Form $form)

Static Public Member Functions

static block ($args, $logic)
 
Returns:
LogicalChain


Static Private Member Functions

static calculateBoolean ($logic, $left, $right)


Detailed Description

Wrapper around given childs of LogicalObject with custom logic-glue's.

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


Member Function Documentation

static LogicalChain::block ( args,
logic 
) [static]

Returns:
LogicalChain

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

References $args, SQLChain::$logic, BinaryExpression::EXPRESSION_AND, BinaryExpression::EXPRESSION_OR, and Assert::isTrue().

Referenced by Expression::block().

Here is the call graph for this function:

LogicalChain::expAnd ( LogicalObject exp  ) 

Returns:
LogicalChain

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

References SQLChain::exp(), and BinaryExpression::EXPRESSION_AND.

Here is the call graph for this function:

LogicalChain::expOr ( LogicalObject exp  ) 

Returns:
LogicalChain

Definition at line 60 of file LogicalChain.class.php.

References SQLChain::exp(), and BinaryExpression::EXPRESSION_OR.

Here is the call graph for this function:

LogicalChain::toBoolean ( Form form  ) 

Implements LogicalObject.

Definition at line 65 of file LogicalChain.class.php.

References SQLChain::$chain, and $out.

static LogicalChain::calculateBoolean ( logic,
left,
right 
) [static, private]

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

References SQLChain::$logic, BinaryExpression::EXPRESSION_AND, and BinaryExpression::EXPRESSION_OR.


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