19 declare(strict_types=1);
    44         $ilCtrl = $DIC[
'ilCtrl'];
    47         $this->permissions = $a_permissions;
    52         $this->main_tpl->setOnScreenMessage(
'info', 
$lng->
txt(
'usr_settings_explanation_profile'));
    58         $this->
addColumn($this->
lng->txt(
'export') . 
' / ' . $this->
lng->txt(
'search') .
    59             ' / ' . $this->
lng->txt(
'certificate'), 
'');
    64         $this->
setRowTemplate(
'tpl.std_fields_settings_row.html', 
'Services/User');
    69         $fds = $user_field_definitions->getDefinitions();
    71         foreach ($fds as $k => 
$f) {
    87     protected function fillRow(array $a_set): void
    89         $field = $a_set[
'field_id'];
    92             'visible' => 
'user_visible_in_profile',
    93             'changeable' => 
'changeable',
    94             'searchable' => 
'header_searchable',
    95             'required' => 
'required_field',
    97             'course_export' => 
'course_export',
    98             'group_export' => 
'group_export',
    99             'prg_export' => 
'prg_export',
   100             'visib_reg' => 
'header_visible_registration',
   101             'visib_lua' => 
'usr_settings_visib_lua',
   102             'changeable_lua' => 
'usr_settings_changeable_lua',
   103             'certificate' => 
'certificate'   106         $perms = $this->permissions->hasPermissions(
   162         $req_checked = $this->request->getChecked();
   164         foreach ($props as $prop => $lv) {
   165             $up_prop = strtoupper($prop);
   168                 ($prop != 
'searchable')) {
   169                 $this->tpl->setCurrentBlock($prop);
   170                 $this->tpl->setVariable(
   171                     'HEADER_' . $up_prop,
   174                 $this->tpl->setVariable(
'PROFILE_OPTION_' . $up_prop, $prop . 
'_' . $field);
   181                 if ($this->confirm_change === 1) {
   182                     $checked = $req_checked[$prop . 
'_' . $field] ?? 
false;
   186                     $this->tpl->setVariable(
'CHECKED_' . $up_prop, 
' checked=\"checked\"');
   190                     $this->tpl->setVariable(
'DISABLE_' . $up_prop, 
' disabled=\"disabled\"');
   193                 $this->tpl->parseCurrentBlock();
   199             $this->
ctrl->setParameter($this->parent_obj, 
'field_id', $a_set[
'field_id']);
   200             $this->tpl->setCurrentBlock(
'action');
   201             $this->tpl->setVariable(
   203                 $this->
ctrl->getLinkTarget($this->parent_obj, 
'edit')
   205             $this->tpl->setVariable(
'TXT_CMD', $this->
lng->txt(
'edit'));
   206             $this->tpl->parseCurrentBlock();
   210         $this->tpl->setCurrentBlock(
'cb');
   211         $this->tpl->setVariable(
'FIELD_ID', $a_set[
'field_id']);
   212         $this->tpl->parseCurrentBlock();
   213         $this->tpl->setVariable(
'TXT_FIELD', $a_set[
'field_name']);
   218         $this->confirm_change = 
true;
 
const SUBACTION_FIELD_ACCESS_VISIBLE_GROUPS
 
__construct(object $a_parent_obj, string $a_parent_cmd, ilClaimingPermissionHelper $a_permissions)
 
const SUBACTION_FIELD_ACCESS_SEARCHABLE
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setEnableTitle(bool $a_enabletitle)
 
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
const SUBACTION_FIELD_ACCESS_VISIBLE_COURSES
 
const SUBACTION_FIELD_ACCESS_EXPORT
 
const SUBACTION_FIELD_ACCESS_CERTIFICATE
 
const SUBACTION_FIELD_ACCESS_CHANGEABLE_PERSONAL
 
const SUBACTION_FIELD_ACCESS_REQUIRED
 
const ACTION_FIELD_EDIT_ACCESS
 
TableGUI class for custom defined user fields. 
 
const SUBACTION_FIELD_ACCESS_VISIBLE_PERSONAL
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static getAccessPermissions()
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
const SUBACTION_FIELD_ACCESS_VISIBLE_LOCAL
 
setLimit(int $a_limit=0, int $a_default_limit=0)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
const SUBACTION_FIELD_ACCESS_VISIBLE_REGISTRATION
 
disable(string $a_module_name)
 
const SUBACTION_FIELD_ACCESS_VISIBLE_PRG
 
const SUBACTION_FIELD_ACCESS_CHANGEABLE_LOCAL
 
addMultiCommand(string $a_cmd, string $a_text)
 
setEnableHeader(bool $a_enableheader)
 
ilClaimingPermissionHelper $permissions