SQLChain Class Reference
[Dynamic query builder]

Inheritance diagram for SQLChain:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 getSize ()
 toMapped (StorableDAO $dao, JoinCapableQuery $query)
 
Returns:
SQLChain

 toDialectString (Dialect $dialect)

Protected Member Functions

 exp (DialectString $exp, $logic)
 
Returns:
SQLChain


Protected Attributes

 $chain = array()
 $logic = array()


Detailed Description

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


Member Function Documentation

SQLChain::exp ( DialectString exp,
logic 
) [protected]

Returns:
SQLChain

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

References $logic.

Referenced by QueryChain::except(), QueryChain::exceptAll(), LogicalChain::expAnd(), LogicalChain::expOr(), QueryChain::intersect(), QueryChain::intersectAll(), QueryChain::union(), and QueryChain::unionAll().

SQLChain::getSize (  ) 

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

SQLChain::toMapped ( StorableDAO dao,
JoinCapableQuery query 
)

Returns:
SQLChain

Implements MappableObject.

Definition at line 40 of file SQLChain.class.php.

References $chain, and Assert::isTrue().

Here is the call graph for this function:

SQLChain::toDialectString ( Dialect dialect  ) 

Implements DialectString.

Definition at line 58 of file SQLChain.class.php.

References $out.


Member Data Documentation

SQLChain::$chain = array() [protected]

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

Referenced by LogicalChain::toBoolean(), and toMapped().

SQLChain::$logic = array() [protected]

Definition at line 19 of file SQLChain.class.php.

Referenced by QueryChain::block(), LogicalChain::block(), LogicalChain::calculateBoolean(), and exp().


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