25 #require_once 'Zend/Loader.php'; 30 #require_once 'Zend/Translate/Adapter.php'; 75 }
else if (func_num_args() > 1) {
76 $args = func_get_args();
78 $options[
'adapter'] = array_shift($args);
80 $options[
'content'] = array_shift($args);
84 $options[
'locale'] = array_shift($args);
88 $opt = array_shift($args);
110 }
else if (func_num_args() > 1) {
111 $args = func_get_args();
113 $options[
'adapter'] = array_shift($args);
115 $options[
'content'] = array_shift($args);
119 $options[
'locale'] = array_shift($args);
123 $opt = array_shift($args);
131 $options[
'adapter'] =
'Zend_Translate_Adapter_' . ucfirst(
$options[
'adapter']);
138 if (array_key_exists(
'cache',
$options)) {
146 #require_once 'Zend/Translate/Exception.php'; 158 return $this->_adapter;
218 if (method_exists($this->_adapter,
$method)) {
219 return call_user_func_array(array($this->_adapter,
$method),
$options);
221 #require_once 'Zend/Translate/Exception.php'; __construct($options=array())
static loadClass($class, $dirs=null)
setAdapter($options=array())
static setCache(Zend_Cache_Core $cache)
static isReadable($filename)
__call($method, array $options)
static clearCache($tag=null)
static setCache(Zend_Cache_Core $cache)
static clearCache($tag=null)