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.

__call(
$method, $options
)
:
void
Calls all methods from the adapter
Name | Type | Description |
---|---|---|
$method | ||
$options |

__construct(
array|\Zend_Config $options
=
array()
)
:
void
Generates the standard translation object
Name | Type | Description |
---|---|---|
$options | array|\Zend_Config | Options to use |
Exception | Description |
---|---|
\Zend_Translate_Exception |

clearCache(
string $tag
=
null
)
:
void
Clears all set cache data
Name | Type | Description |
---|---|---|
$tag | string | Tag to clear when the default tag name is not used |

getAdapter(
)
:
\Zend_Translate_Adapter
Returns the adapters name and it's options
Type | Description |
---|---|
\Zend_Translate_Adapter |

getCache(
)
:
\Zend_Cache_Core
Returns the set cache
Type | Description |
---|---|
\Zend_Cache_Core | The set cache |

setAdapter(
array|\Zend_Config $options
=
array()
)
:
void
Sets a new adapter
Name | Type | Description |
---|---|---|
$options | array|\Zend_Config | Options to use |
Exception | Description |
---|---|
\Zend_Translate_Exception |

setCache(
\Zend_Cache_Core $cache
)
:
void
Sets a cache for all instances of Zend_Translate
Name | Type | Description |
---|---|---|
$cache | \Zend_Cache_Core | Cache to store to |