public function get($key, $default = null) {
        if (strpos($key, '.') === false) {
            $value = isset($this->_data[$key]) ? $this->_data[$key] : null;
        } else {
            $value = Hash::get($this->_data, $key);
        }

        if ($value === null) {
            return $default;
        }

        return $value;
    }
public function get($key, $default = null) {
        if (strpos($key, '.') === false) {
            $value = isset($this->_data[$key]) ? $this->_data[$key] : null;
        } else {
            $value = Hash::get($this->_data, $key);
        }

        if ($value === null) {
            return $default;
        }

        return $value;
    }
public function get ( $ key , $ default = null ) { if ( strpos ( $ key , '.' ) === false ) { $ value = isset ( $ this -> _data [ $ key ] ) ? $ this -> _data [ $ key ] : null ; } else { $ value = Hash :: get ( $ this -> _data , $ key ) ; } if ( $ value === null ) { return $ default ; } return $ value ; }
Return a parameter by key.

@uses Titon\Utility\Hash

@param string $key
@param mixed $default
@return mixed
Return a parameter by key .