protected function checkBrowserNokia()
    {
        if ($this->containString($this->_agent, array('Nokia5800', 'Nokia5530', 'Nokia5230'), true, false)) {
            $this->setBrowser(self::BROWSER_NOKIA);
            $this->setVersion('7.0');
            $this->setMobile(true);
            $this->setRobot(false);

            return true;
        }

        if ($this->checkSimpleBrowserUA(array('NokiaBrowser', 'BrowserNG', 'Series60', 'S60', 'S40OviBrowser'), $this->_agent, self::BROWSER_NOKIA, true)) {
            return true;
        }

        return false;
    }
protected function checkBrowserNokia()
    {
        if ($this->containString($this->_agent, array('Nokia5800', 'Nokia5530', 'Nokia5230'), true, false)) {
            $this->setBrowser(self::BROWSER_NOKIA);
            $this->setVersion('7.0');
            $this->setMobile(true);
            $this->setRobot(false);

            return true;
        }

        if ($this->checkSimpleBrowserUA(array('NokiaBrowser', 'BrowserNG', 'Series60', 'S60', 'S40OviBrowser'), $this->_agent, self::BROWSER_NOKIA, true)) {
            return true;
        }

        return false;
    }
protected function checkBrowserNokia ( ) { if ( $ this -> containString ( $ this -> _agent , array ( 'Nokia5800' , 'Nokia5530' , 'Nokia5230' ) , true , false ) ) { $ this -> setBrowser ( self :: BROWSER_NOKIA ) ; $ this -> setVersion ( '7.0' ) ; $ this -> setMobile ( true ) ; $ this -> setRobot ( false ) ; return true ; } if ( $ this -> checkSimpleBrowserUA ( array ( 'NokiaBrowser' , 'BrowserNG' , 'Series60' , 'S60' , 'S40OviBrowser' ) , $ this -> _agent , self :: BROWSER_NOKIA , true ) ) { return true ; } return false ; }
Determine if the browser is a Nokia browser or not.
@access protected
@link http://www.developer.nokia.com/Community/Wiki/User-Agent_headers_for_Nokia_devices
@return boolean Returns true if the browser is a Nokia browser, false otherwise.
Determine if the browser is a Nokia browser or not .