public function foldCase($key)
    {
        switch ($this->_caseFolding) {
            case Zend_Db::CASE_LOWER:
                $value = strtolower((string) $key);
                break;
            case Zend_Db::CASE_UPPER:
                $value = strtoupper((string) $key);
                break;
            case Zend_Db::CASE_NATURAL:
            default:
                $value = (string) $key;
        }
        return $value;
    }
public function foldCase($key)
    {
        switch ($this->_caseFolding) {
            case Zend_Db::CASE_LOWER:
                $value = strtolower((string) $key);
                break;
            case Zend_Db::CASE_UPPER:
                $value = strtoupper((string) $key);
                break;
            case Zend_Db::CASE_NATURAL:
            default:
                $value = (string) $key;
        }
        return $value;
    }
public function foldCase ( $ key ) { switch ( $ this -> _caseFolding ) { case Zend_Db :: CASE_LOWER : $ value = strtolower ( ( string ) $ key ) ; break ; case Zend_Db :: CASE_UPPER : $ value = strtoupper ( ( string ) $ key ) ; break ; case Zend_Db :: CASE_NATURAL : default : $ value = ( string ) $ key ; } return $ value ; }
Helper method to change the case of the strings used
when returning result sets in FETCH_ASSOC and FETCH_BOTH
modes.

This is not intended to be used by application code,
but the method must be public so the Statement class
can invoke it.

@param string $key
@return string
Helper method to change the case of the strings used when returning result sets in FETCH_ASSOC and FETCH_BOTH modes .