_data = array(); if (!is_array($data)) { if (file_exists($data)) { ob_start(); $data = include($data); ob_end_clean(); } } if (!is_array($data)) { require_once 'Zend/Translate/Exception.php'; throw new Zend_Translate_Exception("Error including array or file '".$data."'"); } if (!isset($this->_data[$locale])) { $this->_data[$locale] = array(); } $this->_data[$locale] = $data + $this->_data[$locale]; return $this->_data; } /** * returns the adapters name * * @return string */ public function toString() { return "Array"; } }