code/libraries/joomlatools/library/http/message/headers.php
public function offsetGet($key)
    {
        $key = strtr(strtolower($key), '_', '-');

        $result = null;
        if (isset($this->_data[$key])) {
            $result = $this->_data[$key];
        }

        return $result;
    }
public function offsetGet($key)
    {
        $key = strtr(strtolower($key), '_', '-');

        $result = null;
        if (isset($this->_data[$key])) {
            $result = $this->_data[$key];
        }

        return $result;
    }
public function offsetGet ( $ key ) { $ key = strtr ( strtolower ( $ key ) , '_' , '-' ) ; $ result = null ; if ( isset ( $ this -> _data [ $ key ] ) ) { $ result = $ this -> _data [ $ key ] ; } return $ result ; }
Get a value by key

@param   string  $key The key name.
@return  string  The corresponding value.
Get a value by key