Public Member Functions | |
__construct ($data, $locale=null, array $options=array()) | |
getAdapterInfo () | |
toString () | |
Protected Member Functions | |
_loadTranslationData ($filename, $locale, array $options=array()) |
Definition at line 34 of file Gettext.php.
__construct | ( | $ | data, |
$ | locale = null , |
||
array $ | options = array() |
||
) |
Generates the adapter
string | $data | Translation data |
string | Zend_Locale | $locale | OPTIONAL Locale/Language to set, identical with locale identifier, see Zend_Locale for more information |
array | $options | OPTIONAL Options to set |
Reimplemented from Zend_Translate_Adapter.
Definition at line 49 of file Gettext.php.
_loadTranslationData | ( | $ | filename, |
$ | locale, | ||
array $ | options = array() |
||
) | [protected] |
Load translation data (MO file reader)
string | $filename | MO file to add, full path must be given for access |
string | $locale | New Locale/Language to set, identical with locale identifier, see Zend_Locale for more information |
array | $option | OPTIONAL Options to use |
Zend_Translation_Exception |
Reimplemented from Zend_Translate_Adapter.
Definition at line 78 of file Gettext.php.
getAdapterInfo | ( | ) |
Returns the adapter informations
Definition at line 164 of file Gettext.php.
toString | ( | ) |
Returns the adapter name
Reimplemented from Zend_Translate_Adapter.
Definition at line 174 of file Gettext.php.