src/Auth.php
public function getStatus() {
		if (isset($_SESSION) && isset($_SESSION[self::SESSION_FIELD_STATUS])) {
			return $_SESSION[self::SESSION_FIELD_STATUS];
		}
		else {
			return null;
		}
	}
public function getStatus() {
		if (isset($_SESSION) && isset($_SESSION[self::SESSION_FIELD_STATUS])) {
			return $_SESSION[self::SESSION_FIELD_STATUS];
		}
		else {
			return null;
		}
	}
public function getStatus ( ) { if ( isset ( $ _SESSION ) && isset ( $ _SESSION [ self :: SESSION_FIELD_STATUS ] ) ) { return $ _SESSION [ self :: SESSION_FIELD_STATUS ] ; } else { return null ; } }
Returns the currently signed-in user's status by reading from the session

@return int the status as one of the constants from the {@see Status} class
Returns the currently signed - in user s status by reading from the session