public static function getUser($username = null)
	{
		if ( is_null( $username ) ) $username = self::getCurrentUsername();

		if ( self::userExists( $username ) ) {
			return self::$auth['users'][ $username ];
		}

		return null;
	}
public static function getUser($username = null)
	{
		if ( is_null( $username ) ) $username = self::getCurrentUsername();

		if ( self::userExists( $username ) ) {
			return self::$auth['users'][ $username ];
		}

		return null;
	}
public static function getUser ( $ username = null ) { if ( is_null ( $ username ) ) $ username = self :: getCurrentUsername ( ) ; if ( self :: userExists ( $ username ) ) { return self :: $ auth [ 'users' ] [ $ username ] ; } return null ; }
Return the data of a user

@param string $username the username

@return array data or null if not exists
Return the data of a user