|
ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilCustomUserFieldsGUI. More...
Collaboration diagram for ilCustomUserFieldsGUI:Public Member Functions | |
| __construct () | |
| & | executeCommand () |
| listUserDefinedFields () | |
| List all custom user fields. | |
| addField ($a_form=null) | |
| Add field. | |
| getAccessOptions () | |
| Get all access options, order is kept in forms. | |
| initForm ($a_mode="create") | |
| Init field form. | |
| create () | |
| edit ($a_form=null) | |
| Edit field. | |
| update () | |
| askDeleteField () | |
| deleteField () | |
| updateFields ($action="") | |
| Update custom fields properties (from table gui) | |
Protected Member Functions | |
| validateForm ($form, $user_field_definitions, array &$access) | |
| Validate field form. | |
Protected Attributes | |
| $confirm_change | |
| $field_id | |
| $field_definition | |
Class ilCustomUserFieldsGUI.
Definition at line 16 of file class.ilCustomUserFieldsGUI.php.
| ilCustomUserFieldsGUI::__construct | ( | ) |
Definition at line 22 of file class.ilCustomUserFieldsGUI.php.
References $_REQUEST, $ilCtrl, $lng, and ilUserDefinedFields\_getInstance().
Here is the call graph for this function:| ilCustomUserFieldsGUI::addField | ( | $a_form = null | ) |
Add field.
| ilPropertyFormGUI | $a_form |
Definition at line 83 of file class.ilCustomUserFieldsGUI.php.
References $tpl, and initForm().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCustomUserFieldsGUI::askDeleteField | ( | ) |
Definition at line 375 of file class.ilCustomUserFieldsGUI.php.
References $_POST, $ilCtrl, $lng, $tpl, ilUserDefinedFields\_getInstance(), listUserDefinedFields(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilCustomUserFieldsGUI::create | ( | ) |
Definition at line 280 of file class.ilCustomUserFieldsGUI.php.
References $_POST, $ilCtrl, $lng, ilUserDefinedFields\_getInstance(), ilMemberAgreement\_reset(), addField(), initForm(), ilUtil\sendSuccess(), and validateForm().
Here is the call graph for this function:| ilCustomUserFieldsGUI::deleteField | ( | ) |
Definition at line 404 of file class.ilCustomUserFieldsGUI.php.
References $_POST, $ilCtrl, $lng, ilUserDefinedFields\_getInstance(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilCustomUserFieldsGUI::edit | ( | $a_form = null | ) |
Edit field.
| ilPropertyFormGUI | $a_form |
Definition at line 323 of file class.ilCustomUserFieldsGUI.php.
References $tpl, and initForm().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilCustomUserFieldsGUI::executeCommand | ( | ) |
| ilCustomUserFieldsGUI::getAccessOptions | ( | ) |
Get all access options, order is kept in forms.
Definition at line 100 of file class.ilCustomUserFieldsGUI.php.
References $lng.
Referenced by initForm(), and validateForm().
Here is the caller graph for this function:| ilCustomUserFieldsGUI::initForm | ( | $a_mode = "create" | ) |
Init field form.
| string | $a_mode |
Definition at line 124 of file class.ilCustomUserFieldsGUI.php.
References $ilCtrl, $lng, ilMemberAgreement\_hasAgreements(), getAccessOptions(), ilUtil\sendInfo(), ilFormPropertyGUI\setRequired(), ilCheckboxGroupInputGUI\setValue(), UDF_TYPE_SELECT, UDF_TYPE_TEXT, and UDF_TYPE_WYSIWYG.
Referenced by addField(), create(), edit(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCustomUserFieldsGUI::listUserDefinedFields | ( | ) |
List all custom user fields.
Definition at line 62 of file class.ilCustomUserFieldsGUI.php.
References $ilCtrl, $lng, $tab, and $tpl.
Referenced by askDeleteField(), and updateFields().
Here is the caller graph for this function:| ilCustomUserFieldsGUI::update | ( | ) |
Definition at line 335 of file class.ilCustomUserFieldsGUI.php.
References $ilCtrl, $lng, ilUserDefinedFields\_getInstance(), ilMemberAgreement\_reset(), edit(), initForm(), ilUtil\sendSuccess(), and validateForm().
Here is the call graph for this function:| ilCustomUserFieldsGUI::updateFields | ( | $action = "" | ) |
Update custom fields properties (from table gui)
Definition at line 421 of file class.ilCustomUserFieldsGUI.php.
References $_POST, $field_id, $ilCtrl, $lng, ilUserDefinedFields\_getInstance(), listUserDefinedFields(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Validate field form.
| ilPropertyFormGUI | $form | |
| ilUserDefinedFields | $user_field_definitions | |
| array | $access |
Definition at line 227 of file class.ilCustomUserFieldsGUI.php.
References $lng, $valid, getAccessOptions(), ilUtil\sendFailure(), UDF_DUPLICATE_VALUES, and UDF_TYPE_SELECT.
Referenced by create(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 18 of file class.ilCustomUserFieldsGUI.php.
|
protected |
Definition at line 20 of file class.ilCustomUserFieldsGUI.php.
|
protected |
Definition at line 19 of file class.ilCustomUserFieldsGUI.php.
Referenced by updateFields().