Table of Contents

TableFactory

The TableFactory is a factory cacheing all Tables loaded by Vortex. All instances of Table have to be instanciated through the TableFactory. The factory keeps a cache of the Table instances which will be returned. If no chache exists a new instance of Table class is created, put into cache and returned.

Extends

CacheObject

Implements

Persistant

Constants

Methods

Code Examples

Get a Table from the factory

$table = TableFactory::getTableFromName( 'myTable' );

Clear the factory cache (this you very seldom want to do)

TableFactory::clear();