ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Personal profile publishing mode of a user. More...
Public Member Functions | |
__construct (private readonly Language $lng, private readonly \ilSetting $settings, private readonly \ilObjUser $user) | |
getMode () | |
isEnabled () | |
getModeInfo (?string $mode=null) | |
Data Fields | |
const | PROFILE_DISABLED = 'n' |
const | PROFILE_ENABLED_LOGGED_IN_USERS = 'y' |
const | PROFILE_ENABLED_GLOBAL = 'g' |
Personal profile publishing mode of a user.
Definition at line 29 of file Visibility.php.
ILIAS\User\Profile\Visibility::__construct | ( | private readonly Language | $lng, |
private readonly \ilSetting | $settings, | ||
private readonly \ilObjUser | $user | ||
) |
Definition at line 35 of file Visibility.php.
ILIAS\User\Profile\Visibility::getMode | ( | ) |
Definition at line 42 of file Visibility.php.
References ILIAS\User\Profile\Visibility\PROFILE_DISABLED, ILIAS\User\Profile\Visibility\PROFILE_ENABLED_LOGGED_IN_USERS, ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by ILIAS\User\Profile\Visibility\getModeInfo(), and ILIAS\User\Profile\Visibility\isEnabled().
ILIAS\User\Profile\Visibility::getModeInfo | ( | ?string | $mode = null | ) |
Definition at line 73 of file Visibility.php.
References ILIAS\User\Profile\Visibility\getMode(), ILIAS\Repository\lng(), ILIAS\User\Profile\Visibility\PROFILE_DISABLED, ILIAS\User\Profile\Visibility\PROFILE_ENABLED_GLOBAL, and ILIAS\User\Profile\Visibility\PROFILE_ENABLED_LOGGED_IN_USERS.
ILIAS\User\Profile\Visibility::isEnabled | ( | ) |
Definition at line 62 of file Visibility.php.
References ILIAS\User\Profile\Visibility\getMode().
const ILIAS\User\Profile\Visibility::PROFILE_DISABLED = 'n' |
Definition at line 31 of file Visibility.php.
Referenced by ILIAS\User\Profile\Visibility\getMode(), and ILIAS\User\Profile\Visibility\getModeInfo().
const ILIAS\User\Profile\Visibility::PROFILE_ENABLED_GLOBAL = 'g' |
Definition at line 33 of file Visibility.php.
Referenced by ILIAS\User\Profile\Visibility\getModeInfo().
const ILIAS\User\Profile\Visibility::PROFILE_ENABLED_LOGGED_IN_USERS = 'y' |
Definition at line 32 of file Visibility.php.
Referenced by ILIAS\User\Profile\Visibility\getMode(), and ILIAS\User\Profile\Visibility\getModeInfo().