User Tools

Site Tools


Sidebar

Dokumentation

vortex:api:tablefactory

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

Implements

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();
vortex/api/tablefactory.txt · Last modified: 2019/06/28 07:00 by hubbe