protected function checkBrowsers()
    {
        //Changing the check order can break the class detection results!
        return
               /* Major browsers and browsers that need to be detected in a special order */
               $this->checkBrowserCustom() ||           /* Customs rules are always checked first */
               $this->checkBrowserMsnTv() ||            /* MSN TV is based on IE so we must check for MSN TV before IE */
               $this->checkBrowserInternetExplorer() ||
               $this->checkBrowserOpera() ||            /* Opera must be checked before Firefox, Netscape and Chrome to avoid conflicts */
               $this->checkBrowserEdge() ||             /* Edge must be checked before Firefox, Safari and Chrome to avoid conflicts */
               $this->checkBrowserSamsung() ||          /* Samsung Internet browser must be checked before Chrome and Safari to avoid conflicts */
               $this->checkBrowserUC() ||               /* UC Browser must be checked before Chrome and Safari to avoid conflicts */
               $this->checkBrowserChrome() ||           /* Chrome must be checked before Netscaoe and Mozilla to avoid conflicts */
               $this->checkBrowserIcab() ||             /* Check iCab before Netscape since iCab have Mozilla UAs */
               $this->checkBrowserNetscape() ||         /* Must be checked before Firefox since Netscape 8-9 are based on Firefox */
               $this->checkBrowserIceCat() ||           /* Check IceCat and IceWeasel before Firefox since they are GNU builds of Firefox */
               $this->checkBrowserIceWeasel() ||
               $this->checkBrowserFirefox() ||
               /* Current browsers that don't need to be detected in any special order */
               $this->checkBrowserKonqueror() ||
               $this->checkBrowserLynx() ||
               /* Mobile */
               $this->checkBrowserAndroid() ||
               $this->checkBrowserBlackBerry() ||
               $this->checkBrowserNokia() ||
               /* Bots */
               $this->checkBrowserGooglebot() ||
               $this->checkBrowserBingbot() ||
               $this->checkBrowserMsnBot() ||
               $this->checkBrowserSlurp() ||
               $this->checkBrowserYahooMultimedia() ||
               $this->checkBrowserW3CValidator() ||
               /* WebKit base check (after most other checks) */
               $this->checkBrowserSafari() ||
               /* Deprecated browsers that don't need to be detected in any special order */
               $this->checkBrowserFirebird() ||
               $this->checkBrowserPhoenix() ||
               /* Mozilla is such an open standard that it must be checked last */
               $this->checkBrowserMozilla();
    }
protected function checkBrowsers()
    {
        //Changing the check order can break the class detection results!
        return
               /* Major browsers and browsers that need to be detected in a special order */
               $this->checkBrowserCustom() ||           /* Customs rules are always checked first */
               $this->checkBrowserMsnTv() ||            /* MSN TV is based on IE so we must check for MSN TV before IE */
               $this->checkBrowserInternetExplorer() ||
               $this->checkBrowserOpera() ||            /* Opera must be checked before Firefox, Netscape and Chrome to avoid conflicts */
               $this->checkBrowserEdge() ||             /* Edge must be checked before Firefox, Safari and Chrome to avoid conflicts */
               $this->checkBrowserSamsung() ||          /* Samsung Internet browser must be checked before Chrome and Safari to avoid conflicts */
               $this->checkBrowserUC() ||               /* UC Browser must be checked before Chrome and Safari to avoid conflicts */
               $this->checkBrowserChrome() ||           /* Chrome must be checked before Netscaoe and Mozilla to avoid conflicts */
               $this->checkBrowserIcab() ||             /* Check iCab before Netscape since iCab have Mozilla UAs */
               $this->checkBrowserNetscape() ||         /* Must be checked before Firefox since Netscape 8-9 are based on Firefox */
               $this->checkBrowserIceCat() ||           /* Check IceCat and IceWeasel before Firefox since they are GNU builds of Firefox */
               $this->checkBrowserIceWeasel() ||
               $this->checkBrowserFirefox() ||
               /* Current browsers that don't need to be detected in any special order */
               $this->checkBrowserKonqueror() ||
               $this->checkBrowserLynx() ||
               /* Mobile */
               $this->checkBrowserAndroid() ||
               $this->checkBrowserBlackBerry() ||
               $this->checkBrowserNokia() ||
               /* Bots */
               $this->checkBrowserGooglebot() ||
               $this->checkBrowserBingbot() ||
               $this->checkBrowserMsnBot() ||
               $this->checkBrowserSlurp() ||
               $this->checkBrowserYahooMultimedia() ||
               $this->checkBrowserW3CValidator() ||
               /* WebKit base check (after most other checks) */
               $this->checkBrowserSafari() ||
               /* Deprecated browsers that don't need to be detected in any special order */
               $this->checkBrowserFirebird() ||
               $this->checkBrowserPhoenix() ||
               /* Mozilla is such an open standard that it must be checked last */
               $this->checkBrowserMozilla();
    }
protected function checkBrowsers ( ) { //Changing the check order can break the class detection results! return /* Major browsers and browsers that need to be detected in a special order */ $ this -> checkBrowserCustom ( ) || /* Customs rules are always checked first */ $ this -> checkBrowserMsnTv ( ) || /* MSN TV is based on IE so we must check for MSN TV before IE */ $ this -> checkBrowserInternetExplorer ( ) || $ this -> checkBrowserOpera ( ) || /* Opera must be checked before Firefox, Netscape and Chrome to avoid conflicts */ $ this -> checkBrowserEdge ( ) || /* Edge must be checked before Firefox, Safari and Chrome to avoid conflicts */ $ this -> checkBrowserSamsung ( ) || /* Samsung Internet browser must be checked before Chrome and Safari to avoid conflicts */ $ this -> checkBrowserUC ( ) || /* UC Browser must be checked before Chrome and Safari to avoid conflicts */ $ this -> checkBrowserChrome ( ) || /* Chrome must be checked before Netscaoe and Mozilla to avoid conflicts */ $ this -> checkBrowserIcab ( ) || /* Check iCab before Netscape since iCab have Mozilla UAs */ $ this -> checkBrowserNetscape ( ) || /* Must be checked before Firefox since Netscape 8-9 are based on Firefox */ $ this -> checkBrowserIceCat ( ) || /* Check IceCat and IceWeasel before Firefox since they are GNU builds of Firefox */ $ this -> checkBrowserIceWeasel ( ) || $ this -> checkBrowserFirefox ( ) || /* Current browsers that don't need to be detected in any special order */ $ this -> checkBrowserKonqueror ( ) || $ this -> checkBrowserLynx ( ) || /* Mobile */ $ this -> checkBrowserAndroid ( ) || $ this -> checkBrowserBlackBerry ( ) || $ this -> checkBrowserNokia ( ) || /* Bots */ $ this -> checkBrowserGooglebot ( ) || $ this -> checkBrowserBingbot ( ) || $ this -> checkBrowserMsnBot ( ) || $ this -> checkBrowserSlurp ( ) || $ this -> checkBrowserYahooMultimedia ( ) || $ this -> checkBrowserW3CValidator ( ) || /* WebKit base check (after most other checks) */ $ this -> checkBrowserSafari ( ) || /* Deprecated browsers that don't need to be detected in any special order */ $ this -> checkBrowserFirebird ( ) || $ this -> checkBrowserPhoenix ( ) || /* Mozilla is such an open standard that it must be checked last */ $ this -> checkBrowserMozilla ( ) ; }
Determine what is the browser used by the user.
@access protected
@return boolean Returns true if the browser has been identified, false otherwise.
Determine what is the browser used by the user .