print dbMapperTableSet

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

Methods

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


Inherited Methods

<  1  >