| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Collaboration diagram for ilObjectCustomUserFieldsGUI:
 Collaboration diagram for ilObjectCustomUserFieldsGUI:| Public Member Functions | |
| __construct ($a_obj_id) | |
| Constructor. | |
| executeCommand () | |
| Execute Command. | |
| getObjId () | |
| Get obj_id of container. | |
| Data Fields | |
| const | MODE_CREATE = 1 | 
| const | MODE_UPDATE = 2 | 
| Protected Member Functions | |
| show () | |
| Show list of custom fields. | |
| listFields () | |
| List existing custom fields. | |
| saveFields () | |
| Save Field settings (currently only required status) | |
| confirmDeleteFields () | |
| Show delete confirmation screen. | |
| deleteFields () | |
| Delete selected fields. | |
| addField () | |
| Show field creation form. | |
| saveField () | |
| Save field. | |
| editField () | |
| Edit one field. | |
| updateField () | |
| Update field definition. | |
| initFieldForm ($a_mode) | |
| Init/create property form for fields. | |
| Private Attributes | |
| $form = null | |
| $lng | |
| $tpl | |
| $ctrl | |
| $tabs_gui | |
| $obj_id | |
| $cdf | |
Definition at line 35 of file class.ilObjectCustomUserFieldsGUI.php.
| ilObjectCustomUserFieldsGUI::__construct | ( | $a_obj_id | ) | 
Constructor.
public
Definition at line 58 of file class.ilObjectCustomUserFieldsGUI.php.
References $ilCtrl, $lng, $tpl, and ilObject\_lookupType().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show field creation form.
Definition at line 207 of file class.ilObjectCustomUserFieldsGUI.php.
References initFieldForm().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show delete confirmation screen.
Definition at line 159 of file class.ilObjectCustomUserFieldsGUI.php.
References $_POST, getObjId(), listFields(), and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Delete selected fields.
Definition at line 188 of file class.ilObjectCustomUserFieldsGUI.php.
References $_POST, ilMemberAgreement\_deleteByObjId(), listFields(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Edit one field.
| object | $a_mode | 
Definition at line 248 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, getObjId(), initFieldForm(), and listFields().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilObjectCustomUserFieldsGUI::executeCommand | ( | ) | 
| ilObjectCustomUserFieldsGUI::getObjId | ( | ) | 
Get obj_id of container.
Definition at line 99 of file class.ilObjectCustomUserFieldsGUI.php.
References $obj_id.
Referenced by confirmDeleteFields(), editField(), listFields(), saveField(), saveFields(), show(), and updateField().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Init/create property form for fields.
Definition at line 301 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by addField(), editField(), saveField(), and updateField().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
List existing custom fields.
Definition at line 121 of file class.ilObjectCustomUserFieldsGUI.php.
References ilCourseDefinedFieldDefinition\_getFields(), and getObjId().
Referenced by confirmDeleteFields(), deleteFields(), editField(), saveField(), saveFields(), show(), and updateField().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Save field.
Definition at line 220 of file class.ilObjectCustomUserFieldsGUI.php.
References getObjId(), initFieldForm(), listFields(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Save Field settings (currently only required status)
Definition at line 140 of file class.ilObjectCustomUserFieldsGUI.php.
References $_POST, ilMemberAgreement\_deleteByObjId(), ilCourseDefinedFieldDefinition\_getFields(), getObjId(), listFields(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show list of custom fields.
Definition at line 108 of file class.ilObjectCustomUserFieldsGUI.php.
References ilMemberAgreement\_hasAgreementsByObjId(), getObjId(), listFields(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Update field definition.
Definition at line 271 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, ilMemberAgreement\_deleteByObjId(), getObjId(), initFieldForm(), listFields(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 49 of file class.ilObjectCustomUserFieldsGUI.php.
| 
 | private | 
Definition at line 44 of file class.ilObjectCustomUserFieldsGUI.php.
| 
 | private | 
Definition at line 40 of file class.ilObjectCustomUserFieldsGUI.php.
| 
 | private | 
Definition at line 42 of file class.ilObjectCustomUserFieldsGUI.php.
Referenced by __construct().
| 
 | private | 
Definition at line 47 of file class.ilObjectCustomUserFieldsGUI.php.
Referenced by getObjId().
| 
 | private | 
Definition at line 45 of file class.ilObjectCustomUserFieldsGUI.php.
| 
 | private | 
Definition at line 43 of file class.ilObjectCustomUserFieldsGUI.php.
Referenced by __construct().
| const ilObjectCustomUserFieldsGUI::MODE_CREATE = 1 | 
Definition at line 37 of file class.ilObjectCustomUserFieldsGUI.php.
| const ilObjectCustomUserFieldsGUI::MODE_UPDATE = 2 | 
Definition at line 38 of file class.ilObjectCustomUserFieldsGUI.php.