Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=array()) | |
Generates the standard translation object. | |
setAdapter ($options=array()) | |
Sets a new adapter. | |
getAdapter () | |
Returns the adapters name and it's options. | |
__call ($method, array $options) | |
Calls all methods from the adapter. | |
Static Public Member Functions | |
static | getCache () |
Returns the set cache. | |
static | setCache (Zend_Cache_Core $cache) |
Sets a cache for all instances of Zend_Translate. | |
static | hasCache () |
Returns true when a cache is set. | |
static | removeCache () |
Removes any set cache. | |
static | clearCache ($tag=null) |
Clears all set cache data. | |
Public Attributes | |
const | AN_ARRAY = 'Array' |
Adapter names constants. | |
const | AN_CSV = 'Csv' |
const | AN_GETTEXT = 'Gettext' |
const | AN_INI = 'Ini' |
const | AN_QT = 'Qt' |
const | AN_TBX = 'Tbx' |
const | AN_TMX = 'Tmx' |
const | AN_XLIFF = 'Xliff' |
const | AN_XMLTM = 'XmlTm' |
const | LOCALE_DIRECTORY = 'directory' |
const | LOCALE_FILENAME = 'filename' |
__construct | ( | $options = array() | ) |
Generates the standard translation object.
array | Zend_Config | $options | Options to use |
Zend_Translate_Exception |
__call | ( | $method, | |
array | $options | ||
) |
Calls all methods from the adapter.
|
static |
Clears all set cache data.
string | $tag | Tag to clear when the default tag name is not used |
getAdapter | ( | ) |
Returns the adapters name and it's options.
|
static |
Returns the set cache.
|
static |
Returns true when a cache is set.
|
static |
Removes any set cache.
setAdapter | ( | $options = array() | ) |
Sets a new adapter.
array | Zend_Config | $options | Options to use |
Zend_Translate_Exception |
|
static |
Sets a cache for all instances of Zend_Translate.
Zend_Cache_Core | $cache | Cache to store to |
const AN_ARRAY = 'Array' |
Adapter names constants.
const AN_CSV = 'Csv' |
const AN_GETTEXT = 'Gettext' |
const AN_INI = 'Ini' |
const AN_QT = 'Qt' |
const AN_TBX = 'Tbx' |
const AN_TMX = 'Tmx' |
const AN_XLIFF = 'Xliff' |
const AN_XMLTM = 'XmlTm' |
const LOCALE_DIRECTORY = 'directory' |
const LOCALE_FILENAME = 'filename' |