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

checkFacebookExternalHit() 보호된 메소드

Detect if URL is loaded from FacebookExternalHit
protected checkFacebookExternalHit ( ) : boolean
리턴 boolean True if it detects FacebookExternalHit otherwise false
    protected function checkFacebookExternalHit()
    {
        if (stristr($this->_agent, 'FacebookExternalHit')) {
            $this->setRobot(true);
            $this->setFacebook(true);
            return true;
        }
        return false;
    }