_db = Zend_Db::factory($configuration->databases->db->sdv1); } elseif(empty($config)){ $dbConfig = new Zend_Config_Ini(APPLICATION_PATH.'/configs/configuration.ini', 'databases'); $this->_db = Zend_Db::factory($dbConfig->db->sdv1); } } /** * Enter description here ... * @param array $keys */ public function texte($methode, $keys) { $sql = $this->select() ->where('methode = ?', $methode) ->where('champ IN ?', $keys); return $this->fetchAll($sql); } }