constructor Translation2::Translation2 | Translation2::get |
Translation2 | |
PEAR Manual | |
require_once 'Translation2.php'; |
void Translation2::factory (
string $storageDriver
, mixed $options = ''
, array $params = array()
)
This is the Translation2 factory
Type of the storage driver ('db', 'mdb', 'mdb2', 'gettext', 'dataobjectsimple')
Additional options for the storage driver (example: if you are using DB as the storage driver, you have to pass the dsn string here)
Array of parameters for the adapter class (i.e. you can set here the mappings between your table/field names and the ones used by this class)
This function can not be called statically.
constructor Translation2::Translation2 | Translation2::get |
Translation2 | |
PEAR Manual | |