Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
AN_ARRAY = 'Array'
Adapter names constants
AN_CSV = 'Csv'
AN_GETTEXT = 'Gettext'
AN_INI = 'Ini'
AN_QT = 'Qt'
AN_TBX = 'Tbx'
AN_TMX = 'Tmx'
AN_XLIFF = 'Xliff'
AN_XMLTM = 'XmlTm'
LOCALE_DIRECTORY = 'directory'
LOCALE_FILENAME = 'filename'
Zend_Translate_Adapter $_adapter = ''
Adapter
__call(
$method, $options
)
:
Calls all methods from the adapter
__construct(
array|Zend_Config $options
=
array
)
:
Generates the standard translation object
clearCache(
string $tag
=
null
)
:
void
Clears all set cache data
getAdapter(
)
:
Zend_Translate_Adapter
Returns the adapters name and it's options
getCache(
)
:
Zend_Cache_Core
Returns the set cache
hasCache(
)
:
boolean
Returns true when a cache is set
removeCache(
)
:
void
Removes any set cache
setAdapter(
array|Zend_Config $options
=
array
)
:
Sets a new adapter
setCache(
Zend_Cache_Core $cache
)
:
void
Sets a cache for all instances of Zend_Translate