src/Zend/Http/UserAgent.php
public function getHttpAccept($httpAccept = null)
    {
        if (null === ($accept = $this->getServerValue('http_accept'))) {
            $accept = self::DEFAULT_HTTP_ACCEPT;
            $this->setHttpAccept($accept);
        }
        return $accept;
    }
public function getHttpAccept($httpAccept = null)
    {
        if (null === ($accept = $this->getServerValue('http_accept'))) {
            $accept = self::DEFAULT_HTTP_ACCEPT;
            $this->setHttpAccept($accept);
        }
        return $accept;
    }
public function getHttpAccept ( $ httpAccept = null ) { if ( null === ( $ accept = $ this -> getServerValue ( 'http_accept' ) ) ) { $ accept = self :: DEFAULT_HTTP_ACCEPT ; $ this -> setHttpAccept ( $ accept ) ; } return $ accept ; }
Returns the HTTP Accept server param

@param  string $httpAccept (option) forced HTTP Accept chain
@return string
Returns the HTTP Accept server param