library/Garp/Model/Db/Info.php
public function fetchAsConfig(Zend_Db_Select $select = null, $env = APPLICATION_ENV) {
        if (is_null($select)) {
            $select = $this->select();
        }
        $results = $this->fetchAll($select);

        $ini = $this->_createIniFromResults($results, $env);
        return $ini;
    }
public function fetchAsConfig(Zend_Db_Select $select = null, $env = APPLICATION_ENV) {
        if (is_null($select)) {
            $select = $this->select();
        }
        $results = $this->fetchAll($select);

        $ini = $this->_createIniFromResults($results, $env);
        return $ini;
    }
public function fetchAsConfig ( Zend_Db_Select $ select = null , $ env = APPLICATION_ENV ) { if ( is_null ( $ select ) ) { $ select = $ this -> select ( ) ; } $ results = $ this -> fetchAll ( $ select ) ; $ ini = $ this -> _createIniFromResults ( $ results , $ env ) ; return $ ini ; }
Fetch results and converts to Zend_Config object
@param Zend_Db_Select $select A select object to filter results
@param String $env Which application env to use
@return Zend_Config
Fetch results and converts to Zend_Config object