protected function checkBrowserCustom()
    {
        foreach ($this->_customBrowserDetection as $browserName => $customBrowser) {
            $uaNameToLookFor = $customBrowser['uaNameToLookFor'];
            $isMobile = $customBrowser['isMobile'];
            $isRobot = $customBrowser['isRobot'];
            $separator = $customBrowser['separator'];
            $uaNameFindWords = $customBrowser['uaNameFindWords'];
            if ($this->checkSimpleBrowserUA($uaNameToLookFor, $this->_agent, $browserName, $isMobile, $isRobot, $separator, $uaNameFindWords)) {
                return true;
            }
        }
        return false;
    }
protected function checkBrowserCustom()
    {
        foreach ($this->_customBrowserDetection as $browserName => $customBrowser) {
            $uaNameToLookFor = $customBrowser['uaNameToLookFor'];
            $isMobile = $customBrowser['isMobile'];
            $isRobot = $customBrowser['isRobot'];
            $separator = $customBrowser['separator'];
            $uaNameFindWords = $customBrowser['uaNameFindWords'];
            if ($this->checkSimpleBrowserUA($uaNameToLookFor, $this->_agent, $browserName, $isMobile, $isRobot, $separator, $uaNameFindWords)) {
                return true;
            }
        }
        return false;
    }
protected function checkBrowserCustom ( ) { foreach ( $ this -> _customBrowserDetection as $ browserName => $ customBrowser ) { $ uaNameToLookFor = $ customBrowser [ 'uaNameToLookFor' ] ; $ isMobile = $ customBrowser [ 'isMobile' ] ; $ isRobot = $ customBrowser [ 'isRobot' ] ; $ separator = $ customBrowser [ 'separator' ] ; $ uaNameFindWords = $ customBrowser [ 'uaNameFindWords' ] ; if ( $ this -> checkSimpleBrowserUA ( $ uaNameToLookFor , $ this -> _agent , $ browserName , $ isMobile , $ isRobot , $ separator , $ uaNameFindWords ) ) { return true ; } } return false ; }
Determine if the browser is among the custom browser rules or not. Rules are checked in the order they were
added.
@access protected
@return boolean Returns true if we found the browser we were looking for in the custom rules, false otherwise.
Determine if the browser is among the custom browser rules or not . Rules are checked in the order they were added .