proxylib.php
protected function _loadRequestUserAgent()
    {
        if($this->_requestUserAgent !== NULL) return;

        if(! key_exists('HTTP_USER_AGENT', $_SERVER))
            throw new Exception("No HTTP User Agent was found");

        $this->_requestUserAgent = $_SERVER['HTTP_USER_AGENT'];
    }
protected function _loadRequestUserAgent()
    {
        if($this->_requestUserAgent !== NULL) return;

        if(! key_exists('HTTP_USER_AGENT', $_SERVER))
            throw new Exception("No HTTP User Agent was found");

        $this->_requestUserAgent = $_SERVER['HTTP_USER_AGENT'];
    }
protected function _loadRequestUserAgent ( ) { if ( $ this -> _requestUserAgent !== NULL ) return ; if ( ! key_exists ( 'HTTP_USER_AGENT' , $ _SERVER ) ) throw new Exception ( "No HTTP User Agent was found" ) ; $ this -> _requestUserAgent = $ _SERVER [ 'HTTP_USER_AGENT' ] ; }
Loads the user-agent string into the _requestUserAgent property
@throws Exception When the user agent is not sent by the client
Loads the user - agent string into the _requestUserAgent property