protected function checkBrowserFirefox()
    {
        //Safari heavily matches with Firefox, ensure that Safari is filtered out...
        if (preg_match('/.*Firefox[ (\/]*([a-z0-9.-]*)/i', $this->_agent, $matches) &&
                !$this->containString($this->_agent, 'Safari')) {
            $this->setBrowser(self::BROWSER_FIREFOX);
            $this->setVersion($matches[1]);
            $this->setMobile(false);
            $this->setRobot(false);

            return true;
        }

        return false;
    }
protected function checkBrowserFirefox()
    {
        //Safari heavily matches with Firefox, ensure that Safari is filtered out...
        if (preg_match('/.*Firefox[ (\/]*([a-z0-9.-]*)/i', $this->_agent, $matches) &&
                !$this->containString($this->_agent, 'Safari')) {
            $this->setBrowser(self::BROWSER_FIREFOX);
            $this->setVersion($matches[1]);
            $this->setMobile(false);
            $this->setRobot(false);

            return true;
        }

        return false;
    }
protected function checkBrowserFirefox ( ) { //Safari heavily matches with Firefox, ensure that Safari is filtered out... if ( preg_match ( '/.*Firefox[ (\/]*([a-z0-9.-]*)/i' , $ this -> _agent , $ matches ) && ! $ this -> containString ( $ this -> _agent , 'Safari' ) ) { $ this -> setBrowser ( self :: BROWSER_FIREFOX ) ; $ this -> setVersion ( $ matches [ 1 ] ) ; $ this -> setMobile ( false ) ; $ this -> setRobot ( false ) ; return true ; } return false ; }
Determine if the browser is Firefox or not.
@access protected
@link http://www.mozilla.org/en-US/firefox/new/
@return boolean Returns true if the browser is Firefox, false otherwise.
Determine if the browser is Firefox or not .