DBSchema Class Reference
[Dynamic query builder]

Inheritance diagram for DBSchema:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 getTables ()
 getTableNames ()
 addTable (DBTable $table)
 
Exceptions:
WrongArgumentException 

 getTableByName ($name)
 
Exceptions:
MissingElementException 

 toDialectString (Dialect $dialect)

Private Attributes

 $tables = array()
 $order = array()


Detailed Description

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


Member Function Documentation

DBSchema::getTables (  ) 

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

DBSchema::getTableNames (  ) 

Definition at line 26 of file DBSchema.class.php.

DBSchema::addTable ( DBTable table  ) 

Exceptions:
WrongArgumentException 

Returns:
DBSchema

Definition at line 35 of file DBSchema.class.php.

References DBTable::getName(), and Assert::isFalse().

Here is the call graph for this function:

DBSchema::getTableByName ( name  ) 

Exceptions:
MissingElementException 

Returns:
DBTable

Definition at line 54 of file DBSchema.class.php.

DBSchema::toDialectString ( Dialect dialect  ) 

Implements DialectString.

Definition at line 64 of file DBSchema.class.php.

References $out.


Member Data Documentation

DBSchema::$tables = array() [private]

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

DBSchema::$order = array() [private]

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


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