DBField Class Reference
[Dynamic query builder]

Reference for actual DB-table column. More...

Inheritance diagram for DBField:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($field, $table=null)
 toDialectString (Dialect $dialect)
 getField ()
 getTable ()
 
Returns:
DialectString

 setTable ($table)
 
Exceptions:
WrongStateException 


Static Public Member Functions

static create ($field, $table=null)
 
Returns:
DBField


Private Attributes

 $field = null
 $table = null


Detailed Description

Reference for actual DB-table column.

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


Constructor & Destructor Documentation

DBField::__construct ( field,
table = null 
)

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

References $field, $table, and setTable().

Here is the call graph for this function:


Member Function Documentation

static DBField::create ( field,
table = null 
) [static]

Returns:
DBField

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

References $field, and $table.

Referenced by ProtoDAO::fetchCollections(), TransparentDaoWorker::getById(), NullDaoWorker::getById(), CommonDaoWorker::getById(), Criteria::joinProperties(), and ProtoDAO::processPath().

DBField::toDialectString ( Dialect dialect  ) 

Implements DialectString.

Definition at line 39 of file DBField.class.php.

References $field, and Dialect::toCasted().

Here is the call graph for this function:

DBField::getField (  ) 

Definition at line 55 of file DBField.class.php.

DBField::getTable (  ) 

Returns:
DialectString

Implements SQLTableName.

Definition at line 63 of file DBField.class.php.

DBField::setTable ( table  ) 

Exceptions:
WrongStateException 

Returns:
DBField

Definition at line 72 of file DBField.class.php.

References $table.

Referenced by __construct().


Member Data Documentation

DBField::$field = null [private]

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

Referenced by __construct(), create(), and toDialectString().

DBField::$table = null [private]

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

Referenced by __construct(), create(), and setTable().


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