29         throw new ilException(
"_getCommands must not be called on user object.");
    34         throw new ilException(
"_checkAccess must not be called on user object.");
    40         $main_tpl = $DIC->ui()->mainTemplate();
    43         if (
'usr_registration' == $target) {
    46                 $GLOBALS[
'DIC']->language()->loadLanguageModule(
'registration');
    47                 $main_tpl->setOnScreenMessage(
'failure', sprintf(
$GLOBALS[
'DIC']->
language()->txt(
'registration_disabled_no_access'), $settings->get(
'admin_email')), 
true);
    50         } elseif (
'usr_nameassist' == $target) {
    51             if (!$settings->get(
'password_assistance')) {
    52                 $GLOBALS[
'DIC']->language()->loadLanguageModule(
'pwassist');
    53                 $main_tpl->setOnScreenMessage(
'failure', sprintf(
$GLOBALS[
'DIC']->
language()->txt(
'unassist_disabled_no_access'), $settings->get(
'admin_email')), 
true);
    56         } elseif (
'usr_pwassist' == $target) {
    57             if (!$settings->get(
'password_assistance')) {
    58                 $GLOBALS[
'DIC']->language()->loadLanguageModule(
'pwassist');
    59                 $main_tpl->setOnScreenMessage(
'failure', sprintf(
$GLOBALS[
'DIC']->
language()->txt(
'pwassist_disabled_no_access'), $settings->get(
'admin_email')), 
true);
    71         $ilUser = $DIC[
'ilUser'];
    74         preg_match(
"/usr_(\\d*).*/ui", $ilWACPath->
getFileName(), $matches);
    75         $usr_id = $matches[1];
    78         if ($usr_id == $ilUser->getId()) {
    84         if ($public_upload != 
'y') {
    91         if ($public_profile == 
'g' and 
$ilSetting->get(
'enable_global_profiles') and 
$ilSetting->get(
'pub_section')) {
    94         } elseif (($public_profile == 
'y' or $public_profile == 
'g') and $ilUser->getId() != 
ANONYMOUS_USER_ID && $ilUser->getId() != 0) {
 
_checkAccess(string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null)
 
canBeDelivered(ilWACPath $ilWACPath)
 
static _lookupPref(int $a_usr_id, string $a_keyword)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static _checkGoto(string $target)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Class ilObjAuthSettingsGUI. 
 
language()
 description: > Example for rendring a language glyph.