Holds a set of table definitions. This is used by the dbMapper when building a map of the database properties. It can be used standalone to simulate a database.
$oTableSet = new dbMapperTableSet(); $oTableSet->addTableDefinition(new dbMapperTableDefinition()); $oTableSet->addTableDefinition(new dbMapperTableDefinition());
public static getInstance()
Returns a single instance of the base set
public addTableDefinition($oTable)
Adds a table definition to the set
public setTables($inTables)
Sets an array of tables
public getTableDefinition($inTableName)
Returns a table definition
public removeTableDefinition($oTable)
Removes a table definition
public removeTables()
Removes all tables
public countTables()
Returns number of tables in set
Posted by: Scorpio Documentor (Writer), in Db on 19 Nov 2009 @ 20:30
Tags: baseset, countable, db, dbmappertableset, iteratoraggregate, traversable,
This
work is licenced under a
Creative Commons Licence.