_data = array(); if (!file_exists($data)) { require_once 'Zend/Translate/Exception.php'; throw new Zend_Translate_Exception("Ini file '".$data."' not found"); } $inidata = parse_ini_file($data, false); if (!isset($this->_data[$locale])) { $this->_data[$locale] = array(); } $this->_data[$locale] = array_merge($this->_data[$locale], $inidata); return $this->_data; } /** * returns the adapters name * * @return string */ public function toString() { return "Ini"; } }