Accessmap::isGuest PHP Method

isGuest() public method

check if the access is from any loged in user or not by checking the existance of session data
public isGuest ( ) : boolean
return boolean
    function isGuest()
    {
        if (!$this->CI->session->userdata($this->_login_session_key)) {
            //try to auto login first
            $this->CI->load->library('ezlogin');
            return !$this->CI->ezlogin->auto_login();
        }
        return FALSE;
    }