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

Inheritance diagram for PrefixUnaryExpression:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($logic, $subject)
 toDialectString (Dialect $dialect)
 toMapped (StorableDAO $dao, JoinCapableQuery $query)
 
Returns:
PrefixUnaryExpression

 toBoolean (Form $form)

Public Attributes

const NOT = 'NOT'
const MINUS = '-'

Private Attributes

 $subject = null
 $logic = null


Detailed Description

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


Constructor & Destructor Documentation

PrefixUnaryExpression::__construct ( logic,
subject 
)

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

References $logic, and $subject.


Member Function Documentation

PrefixUnaryExpression::toDialectString ( Dialect dialect  ) 

Implements DialectString.

Definition at line 30 of file PrefixUnaryExpression.class.php.

References Dialect::toFieldString().

Here is the call graph for this function:

PrefixUnaryExpression::toMapped ( StorableDAO dao,
JoinCapableQuery query 
)

Returns:
PrefixUnaryExpression

Implements MappableObject.

Definition at line 42 of file PrefixUnaryExpression.class.php.

References ProtoDAO::guessAtom().

Here is the call graph for this function:

PrefixUnaryExpression::toBoolean ( Form form  ) 

Implements LogicalObject.

Definition at line 50 of file PrefixUnaryExpression.class.php.

References $subject, and Form::toFormValue().

Here is the call graph for this function:


Member Data Documentation

const PrefixUnaryExpression::NOT = 'NOT'

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

Referenced by Expression::not().

const PrefixUnaryExpression::MINUS = '-'

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

Referenced by Expression::minus().

PrefixUnaryExpression::$subject = null [private]

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

Referenced by __construct(), and toBoolean().

PrefixUnaryExpression::$logic = null [private]

Definition at line 22 of file PrefixUnaryExpression.class.php.

Referenced by __construct().


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