controllers/AuthController.php
/**
     * Checks if user is logged in or not
     *
     * @return boolean
     */
Checks if user is logged in or not
@return boolean
Checks if user is logged in or not @return boolean
public static function isLoggedIn() {
        $ssid = self::getEncryptedSiteIdentifier();
        $ssidInSession = Session::get(self::$SESSION_SITE_IDENTIFIER);
        $sessionUserId = Session::get(self::$AUTH_USER_ID_IDENTIFIER);
        if (($ssid == $ssidInSession) && !empty($sessionUserId)) {
            return true;
        }
        return false;
    }
public static function isLoggedIn ( ) { $ ssid = self :: getEncryptedSiteIdentifier ( ) ; $ ssidInSession = Session :: get ( self :: $ SESSION_SITE_IDENTIFIER ) ; $ sessionUserId = Session :: get ( self :: $ AUTH_USER_ID_IDENTIFIER ) ; if ( ( $ ssid == $ ssidInSession ) && ! empty ( $ sessionUserId ) ) { return true ; } return false ; }
Checks if user is logged in or not
 @return boolean
Checks if user is logged in or not @return boolean