protected function checkBrowserPlayStation()
    {
        if (stripos($this->_agent, 'PlayStation ') !== false) {
            $aresult = explode(' ', stristr($this->_agent, 'PlayStation '));
            $this->setBrowser(self::BROWSER_PLAYSTATION);
            if (isset($aresult[0])) {
                $aversion = explode(')', $aresult[2]);
                $this->setVersion($aversion[0]);
                if (stripos($this->_agent, 'Portable)') !== false || stripos($this->_agent, 'Vita') !== false) {
                    $this->setMobile(true);
                }
                return true;
            }
        }
        return false;
    }
protected function checkBrowserPlayStation()
    {
        if (stripos($this->_agent, 'PlayStation ') !== false) {
            $aresult = explode(' ', stristr($this->_agent, 'PlayStation '));
            $this->setBrowser(self::BROWSER_PLAYSTATION);
            if (isset($aresult[0])) {
                $aversion = explode(')', $aresult[2]);
                $this->setVersion($aversion[0]);
                if (stripos($this->_agent, 'Portable)') !== false || stripos($this->_agent, 'Vita') !== false) {
                    $this->setMobile(true);
                }
                return true;
            }
        }
        return false;
    }
protected function checkBrowserPlayStation ( ) { if ( stripos ( $ this -> _agent , 'PlayStation ' ) !== false ) { $ aresult = explode ( ' ' , stristr ( $ this -> _agent , 'PlayStation ' ) ) ; $ this -> setBrowser ( self :: BROWSER_PLAYSTATION ) ; if ( isset ( $ aresult [ 0 ] ) ) { $ aversion = explode ( ')' , $ aresult [ 2 ] ) ; $ this -> setVersion ( $ aversion [ 0 ] ) ; if ( stripos ( $ this -> _agent , 'Portable)' ) !== false || stripos ( $ this -> _agent , 'Vita' ) !== false ) { $ this -> setMobile ( true ) ; } return true ; } } return false ; }
Determine if the browser is a PlayStation
@return boolean True if the browser is PlayStation otherwise false
Determine if the browser is a PlayStation