library/Garp/Model/Db/Info.php
protected function _createIniFromResults($results, $env) {
        // Create a parse_ini_string() compatible string.
        $ini = "[$env]\n";
        foreach ($results as $result) {
            $keyValue = "{$result->key} = \"{$result->value}\"\n";
            $ini .= $keyValue;
        }

        $iniObj = Garp_Config_Ini::fromString($ini);
        return $iniObj;
    }
protected function _createIniFromResults($results, $env) {
        // Create a parse_ini_string() compatible string.
        $ini = "[$env]\n";
        foreach ($results as $result) {
            $keyValue = "{$result->key} = \"{$result->value}\"\n";
            $ini .= $keyValue;
        }

        $iniObj = Garp_Config_Ini::fromString($ini);
        return $iniObj;
    }
protected function _createIniFromResults ( $ results , $ env ) { // Create a parse_ini_string() compatible string. $ ini = "[$env]\n" ; foreach ( $ results as $ result ) { $ keyValue = "{$result->key} = \"{$result->value}\"\n" ; $ ini .= $ keyValue ; } $ iniObj = Garp_Config_Ini :: fromString ( $ ini ) ; return $ iniObj ; }
Create a Zend_Config instance from database results
@param Zend_Db_Table_Rowset $results
@param Array $config The array that's recursively filled with the right keys
@return Zend_Config
Create a Zend_Config instance from database results