IsterObject | --IsterAppPropertyFactory
Author(s): Ingo Schramm
Copyright: Copyright (c) 2005 Ister.ORG Ingo Schramm
To instantiate a property collection write this:
$fac = new IsterAppPropertyFactory; $col = $fac->getCollection(ISTER_APP_PROPERTY_T_SQL, array('driver' => <driver name>, // one of the IsterSqlDriver* classes 'host' => <host>, 'user' => <user>, 'pass' => <password>, 'db' => <database>)); //or $col = $fac->getCollection(ISTER_APP_PROPERTY_T_SQL, array('function' => &$object)); // reference to IsterSqlFunction object //or $col = $fac->getCollection(ISTER_APP_PROPERTY_T_INI, array('file' => <path>));
IsterAppPropertyFactory IsterAppPropertyFactory( )
object IsterAppConfigureCollection getCollection( integer $type, array $setup)
Parameters: