NukeViet\Client\Browser::checkBrowseriPad PHP 메소드

checkBrowseriPad() 보호된 메소드

Determine if the browser is iPad or not (last updated 1.7)
protected checkBrowseriPad ( ) : boolean
리턴 boolean True if the browser is iPad otherwise false
    protected function checkBrowseriPad()
    {
        if (stripos($this->_agent, 'iPad') !== false) {
            $this->setVersion(self::VERSION_UNKNOWN);
            $this->setBrowser(self::BROWSER_IPAD, self::BROWSER_IPAD_NAME);
            $this->getSafariVersionOnIos();
            $this->getChromeVersionOnIos();
            $this->checkForFacebookIos();
            $this->setTablet(true);
            return true;
        }
        return false;
    }