From 28f5eb3ca0ea61ec7b16a75beb459638dd4f10a6 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 6 Apr 2016 09:26:51 +0200 Subject: [PATCH] Copy User's property-read to UserProfile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … as UserProfile is one of the frequently used classes. --- .../files/lib/data/user/UserProfile.class.php | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/wcfsetup/install/files/lib/data/user/UserProfile.class.php b/wcfsetup/install/files/lib/data/user/UserProfile.class.php index e576a6eec3..6c303c5b14 100644 --- a/wcfsetup/install/files/lib/data/user/UserProfile.class.php +++ b/wcfsetup/install/files/lib/data/user/UserProfile.class.php @@ -29,6 +29,50 @@ use wcf\util\StringUtil; * @package com.woltlab.wcf * @subpackage data.user * @category Community Framework + * + * @property-read integer $userID + * @property-read string $username + * @property-read string $email + * @property-read string $password + * @property-read string $accessToken + * @property-read integer $languageID + * @property-read string $registrationDate + * @property-read integer $styleID + * @property-read integer $banned + * @property-read string $banReason + * @property-read integer $banExpires + * @property-read integer $activationCode + * @property-read integer $lastLostPasswordRequestTime + * @property-read string $lostPasswordKey + * @property-read integer $lastUsernameChange + * @property-read string $newEmail + * @property-read string $oldUsername + * @property-read integer $quitStarted + * @property-read integer $reactivationCode + * @property-read string $registrationIpAddress + * @property-read integer|null $avatarID + * @property-read integer $disableAvatar + * @property-read string $disableAvatarReason + * @property-read integer $disableAvatarExpires + * @property-read integer $enableGravatar + * @property-read string $gravatarFileExtension + * @property-read string $signature + * @property-read integer $signatureEnableBBCodes + * @property-read integer $signatureEnableHtml + * @property-read integer $signatureEnableSmilies + * @property-read integer $disableSignature + * @property-read string $disableSignatureReason + * @property-read integer $disableSignatureExpires + * @property-read integer $lastActivityTime + * @property-read integer $profileHits + * @property-read integer|null $rankID + * @property-read string $userTitle + * @property-read integer|null $userOnlineGroupID + * @property-read integer $activityPoints + * @property-read string $notificationMailToken + * @property-read string $authData + * @property-read integer $likesReceived + * @property-read string $socialNetworkPrivacySettings */ class UserProfile extends DatabaseObjectDecorator implements IBreadcrumbProvider { /** -- 2.20.1