constructor Translation2::Translation2()

constructor Translation2::Translation2() -- Constructor

Synopsis

require_once 'Translation2.php';

void constructor Translation2::Translation2 (string $storageDriver [, mixed $options = '' [, array $params = array()]])

Description

This is the Translation2 constructor

Parameter

string $storageDriver

Type of the storage driver ('db', 'mdb', 'mdb2', 'gettext', 'dataobjectsimple')

mixed $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)

array $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)

Note

This function can not be called statically.