Translation2::factory()

Translation2::factory() -- Return an instanciated Translation2 object

Synopsis

require_once 'Translation2.php';

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

Описание

This is the Translation2 factory

Параметр

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)

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ