protected function checkPlatformCustom()
    {
        foreach ($this->_customPlatformDetection as $platformName => $customPlatform) {
            $platformNameToLookFor = $customPlatform['platformNameToLookFor'];
            $isMobile = $customPlatform['isMobile'];
            if ($this->containString($this->_agent, $platformNameToLookFor)) {
                $this->setPlatform($platformName);
                if ($isMobile) {
                    $this->setMobile(true);
                }
                return true;
            }
        }

        return false;
    }
protected function checkPlatformCustom()
    {
        foreach ($this->_customPlatformDetection as $platformName => $customPlatform) {
            $platformNameToLookFor = $customPlatform['platformNameToLookFor'];
            $isMobile = $customPlatform['isMobile'];
            if ($this->containString($this->_agent, $platformNameToLookFor)) {
                $this->setPlatform($platformName);
                if ($isMobile) {
                    $this->setMobile(true);
                }
                return true;
            }
        }

        return false;
    }
protected function checkPlatformCustom ( ) { foreach ( $ this -> _customPlatformDetection as $ platformName => $ customPlatform ) { $ platformNameToLookFor = $ customPlatform [ 'platformNameToLookFor' ] ; $ isMobile = $ customPlatform [ 'isMobile' ] ; if ( $ this -> containString ( $ this -> _agent , $ platformNameToLookFor ) ) { $ this -> setPlatform ( $ platformName ) ; if ( $ isMobile ) { $ this -> setMobile ( true ) ; } return true ; } } return false ; }
Determine if the platform is among the custom platform rules or not. Rules are checked in the order they were
added.
@access protected
@return boolean Returns true if we found the platform we were looking for in the custom rules, false otherwise.
Determine if the platform is among the custom platform rules or not . Rules are checked in the order they were added .