Browser::checkBrowserIcab PHP Method

checkBrowserIcab() protected method

Determine if the browser is iCab or not (last updated 1.7)
protected checkBrowserIcab ( ) : boolean
return boolean True if the browser is iCab otherwise false
    protected function checkBrowserIcab()
    {
        if (stripos($this->_agent, 'icab') !== false) {
            $aversion = explode(' ', stristr(str_replace('/', ' ', $this->_agent), 'icab'));
            if (isset($aversion[1])) {
                $this->setVersion($aversion[1]);
                $this->setBrowser(self::BROWSER_ICAB);
                return true;
            }
        }
        return false;
    }