void Translation2::factory (
string $storageDriver
, mixed $options = ''
, array $params = array()
)
This is the Translation2 factory
$storageDriver
Type of the storage driver ('db', 'mdb', 'mdb2', 'gettext', 'dataobjectsimple')
$options
Additional options for the storage driver (example: if you are using DB as the storage driver, you have to pass the dsn string here)
$params
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.