ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
ilForumAuthorInformation More...
Public Member Functions | |
__construct (private readonly int $author_id, private readonly int $display_id, private readonly string $alias, private readonly string $import_name, private readonly array $public_profile_link_attributes=[], private readonly ?ilLanguage $lng=null) | |
getProfilePicture () | |
getAuthor () | |
getAuthorName (bool $without_short_name=false) | |
getAuthorShortName () | |
getLinkedAuthorName () | |
getLinkedAuthorShortName () | |
hasSuffix () | |
getSuffix () | |
isDeleted () | |
getAlias () | |
Protected Member Functions | |
initUserInstance () | |
doesAuthorAccountExists () | |
isAuthorAnonymous () | |
isCurrentUserSessionLoggedIn () | |
buildAuthorProfileLink (bool $with_profile_link) | |
init () | |
getUserImagePath (ilObjUser $user) | |
Private Attributes | |
string | $author_name = '' |
string | $author_short_name = '' |
string | $linked_public_name = '' |
string | $linked_short_name = '' |
string | $suffix = '' |
string | $profilePicture |
ilObjUser | $author = null |
readonly ilLanguage | $globalLng |
readonly ilObjUser | $globalUser |
bool | $is_deleted = false |
Definition at line 27 of file class.ilForumAuthorInformation.php.
ilForumAuthorInformation::__construct | ( | private readonly int | $author_id, |
private readonly int | $display_id, | ||
private readonly string | $alias, | ||
private readonly string | $import_name, | ||
private readonly array | $public_profile_link_attributes = [] , |
||
private readonly ?ilLanguage | $lng = null |
||
) |
Definition at line 40 of file class.ilForumAuthorInformation.php.
|
protected |
Definition at line 90 of file class.ilForumAuthorInformation.php.
References $author_name, and $author_short_name.
Referenced by init().
|
protected |
Definition at line 75 of file class.ilForumAuthorInformation.php.
References getAuthor().
Referenced by init(), and isAuthorAnonymous().
ilForumAuthorInformation::getAlias | ( | ) |
Definition at line 263 of file class.ilForumAuthorInformation.php.
ilForumAuthorInformation::getAuthor | ( | ) |
Definition at line 219 of file class.ilForumAuthorInformation.php.
References $author.
Referenced by doesAuthorAccountExists(), init(), and isAuthorAnonymous().
ilForumAuthorInformation::getAuthorName | ( | bool | $without_short_name = false | ) |
Definition at line 224 of file class.ilForumAuthorInformation.php.
References $author_name, and getAuthorShortName().
Referenced by ilForumNotificationDataProvider\getPublicUserInformation(), and ilForumCronNotificationDataProvider\getPublicUserInformation().
ilForumAuthorInformation::getAuthorShortName | ( | ) |
Definition at line 233 of file class.ilForumAuthorInformation.php.
References $author_short_name.
Referenced by getAuthorName(), ilForumNotificationDataProvider\getPublicUserInformation(), and ilForumCronNotificationDataProvider\getPublicUserInformation().
ilForumAuthorInformation::getLinkedAuthorName | ( | ) |
Definition at line 238 of file class.ilForumAuthorInformation.php.
References $linked_public_name.
ilForumAuthorInformation::getLinkedAuthorShortName | ( | ) |
Definition at line 243 of file class.ilForumAuthorInformation.php.
References $linked_short_name.
ilForumAuthorInformation::getProfilePicture | ( | ) |
Definition at line 214 of file class.ilForumAuthorInformation.php.
References $profilePicture.
ilForumAuthorInformation::getSuffix | ( | ) |
|
protected |
Definition at line 189 of file class.ilForumAuthorInformation.php.
References $DIC, ANONYMOUS_USER_ID, ilObjUser\getPersonalPicturePath(), ilContext\hasHTML(), and ilStr\subStr().
Referenced by init().
ilForumAuthorInformation::hasSuffix | ( | ) |
Definition at line 248 of file class.ilForumAuthorInformation.php.
Referenced by ilForumNotificationDataProvider\getPublicUserInformation(), and ilForumCronNotificationDataProvider\getPublicUserInformation().
|
protected |
Definition at line 116 of file class.ilForumAuthorInformation.php.
References $globalLng, $lng, buildAuthorProfileLink(), doesAuthorAccountExists(), getAuthor(), ILIAS\Survey\Mode\getId(), getUserImagePath(), initUserInstance(), isAuthorAnonymous(), isCurrentUserSessionLoggedIn(), ILIAS\Repository\lng(), and ilStr\subStr().
Referenced by __construct().
|
protected |
Definition at line 56 of file class.ilForumAuthorInformation.php.
References ilObjForumAccess\getCachedUserInstance(), and ilForumAuthorInformationCache\getUserObjectById().
Referenced by init().
|
protected |
Definition at line 80 of file class.ilForumAuthorInformation.php.
References doesAuthorAccountExists(), and getAuthor().
Referenced by init().
|
protected |
Definition at line 85 of file class.ilForumAuthorInformation.php.
Referenced by init().
ilForumAuthorInformation::isDeleted | ( | ) |
Definition at line 258 of file class.ilForumAuthorInformation.php.
References $is_deleted.
Definition at line 35 of file class.ilForumAuthorInformation.php.
Referenced by getAuthor().
|
private |
Definition at line 29 of file class.ilForumAuthorInformation.php.
Referenced by buildAuthorProfileLink(), and getAuthorName().
|
private |
Definition at line 30 of file class.ilForumAuthorInformation.php.
Referenced by buildAuthorProfileLink(), and getAuthorShortName().
|
private |
Definition at line 36 of file class.ilForumAuthorInformation.php.
Referenced by init().
|
private |
Definition at line 37 of file class.ilForumAuthorInformation.php.
|
private |
Definition at line 38 of file class.ilForumAuthorInformation.php.
Referenced by isDeleted().
|
private |
Definition at line 31 of file class.ilForumAuthorInformation.php.
Referenced by getLinkedAuthorName().
|
private |
Definition at line 32 of file class.ilForumAuthorInformation.php.
Referenced by getLinkedAuthorShortName().
|
private |
Definition at line 34 of file class.ilForumAuthorInformation.php.
Referenced by getProfilePicture().
|
private |
Definition at line 33 of file class.ilForumAuthorInformation.php.
Referenced by getSuffix().