public static function GetCurrentUser($guid = "CURRENT_USER")
	{
		if (self::$user == null)
		{
			self::Init();
			
			if (isset($_SESSION[$guid]))
			{
				self::$user = unserialize($_SESSION[$guid]);
			}		
		}
		return self::$user;
	}
public static function GetCurrentUser($guid = "CURRENT_USER")
	{
		if (self::$user == null)
		{
			self::Init();
			
			if (isset($_SESSION[$guid]))
			{
				self::$user = unserialize($_SESSION[$guid]);
			}		
		}
		return self::$user;
	}
public static function GetCurrentUser ( $ guid = "CURRENT_USER" ) { if ( self :: $ user == null ) { self :: Init ( ) ; if ( isset ( $ _SESSION [ $ guid ] ) ) { self :: $ user = unserialize ( $ _SESSION [ $ guid ] ) ; } } return self :: $ user ; }
Returns the currently authenticated user or null

@access public
@return IAuthenticatable || null
Returns the currently authenticated user or null