onPHP

DBField Class Reference

 

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 ()
 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]

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 (  ) 

Implements SQLTableName.

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

DBField::setTable ( table  ) 

Exceptions:
WrongStateException 

Returns:
DBField

Definition at line 69 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 by doxygen-1.5.1
for onPHP at Mon Apr 30 23:11:12 2007