ILIAS
Release_5_0_x_branch Revision 61816
|
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. | |
editMember (ilPropertyFormGUI $form=null) | |
Edit Member. | |
cancelEditMember () | |
Cancel editing. | |
initMemberForm () | |
Init member form. | |
saveMember () |
Private Attributes | |
$form = null | |
$lng | |
$tpl | |
$ctrl | |
$tabs_gui | |
$obj_id | |
$ref_id | |
$cdf |
Definition at line 35 of file class.ilObjectCustomUserFieldsGUI.php.
ilObjectCustomUserFieldsGUI::__construct | ( | $a_obj_id | ) |
Constructor.
public
Definition at line 59 of file class.ilObjectCustomUserFieldsGUI.php.
References $ilCtrl, $lng, $tpl, ilObject\_getAllReferences(), and ilObject\_lookupType().
|
protected |
Show field creation form.
Definition at line 219 of file class.ilObjectCustomUserFieldsGUI.php.
References initFieldForm().
|
protected |
Cancel editing.
Definition at line 418 of file class.ilObjectCustomUserFieldsGUI.php.
References $GLOBALS.
|
protected |
Show delete confirmation screen.
Definition at line 171 of file class.ilObjectCustomUserFieldsGUI.php.
References $_POST, getObjId(), listFields(), and ilUtil\sendFailure().
|
protected |
Delete selected fields.
Definition at line 200 of file class.ilObjectCustomUserFieldsGUI.php.
References $_POST, ilMemberAgreement\_deleteByObjId(), listFields(), and ilUtil\sendSuccess().
|
protected |
Edit one field.
object | $a_mode |
Definition at line 263 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, getObjId(), initFieldForm(), and listFields().
|
protected |
Edit Member.
ilPropertyFormGUI | $form |
Definition at line 392 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, $form, $GLOBALS, getObjId(), initMemberForm(), and ilMemberAgreementGUI\setCourseDefinedFieldValues().
Referenced by saveMember().
ilObjectCustomUserFieldsGUI::executeCommand | ( | ) |
Execute Command.
public
Definition at line 84 of file class.ilObjectCustomUserFieldsGUI.php.
ilObjectCustomUserFieldsGUI::getObjId | ( | ) |
Get obj_id of container.
Definition at line 111 of file class.ilObjectCustomUserFieldsGUI.php.
References $obj_id.
Referenced by confirmDeleteFields(), editField(), editMember(), initMemberForm(), listFields(), saveField(), saveFields(), saveMember(), show(), and updateField().
|
protected |
Init/create property form for fields.
Definition at line 321 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, ilTextWizardInputGUI\setAllowMove(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilCheckboxInputGUI\setValue().
Referenced by addField(), editField(), saveField(), and updateField().
|
protected |
Init member form.
Definition at line 427 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, $form, $GLOBALS, ilObjUser\_lookupName(), ilObject\_lookupType(), ilMemberAgreementGUI\addCustomFields(), and getObjId().
Referenced by editMember(), and saveMember().
|
protected |
List existing custom fields.
Definition at line 133 of file class.ilObjectCustomUserFieldsGUI.php.
References ilCourseDefinedFieldDefinition\_getFields(), and getObjId().
Referenced by confirmDeleteFields(), deleteFields(), editField(), saveField(), saveFields(), show(), and updateField().
|
protected |
Save field.
Definition at line 232 of file class.ilObjectCustomUserFieldsGUI.php.
References $_POST, $GLOBALS, getObjId(), initFieldForm(), listFields(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Save Field settings (currently only required status)
Definition at line 152 of file class.ilObjectCustomUserFieldsGUI.php.
References $_POST, ilMemberAgreement\_deleteByObjId(), ilCourseDefinedFieldDefinition\_getFields(), getObjId(), listFields(), and ilUtil\sendSuccess().
|
protected |
Definition at line 446 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, $form, $GLOBALS, $ilUser, editMember(), getObjId(), IL_CAL_UNIX, initMemberForm(), ilMemberAgreementGUI\saveCourseDefinedFields(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
Show list of custom fields.
Definition at line 120 of file class.ilObjectCustomUserFieldsGUI.php.
References ilMemberAgreement\_hasAgreementsByObjId(), getObjId(), listFields(), and ilUtil\sendInfo().
|
protected |
Update field definition.
Definition at line 287 of file class.ilObjectCustomUserFieldsGUI.php.
References $_POST, $_REQUEST, $GLOBALS, ilMemberAgreement\_deleteByObjId(), getObjId(), initFieldForm(), listFields(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
private |
Definition at line 50 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.
Referenced by editMember(), initMemberForm(), and saveMember().
|
private |
Definition at line 42 of file class.ilObjectCustomUserFieldsGUI.php.
Referenced by __construct(), and executeCommand().
|
private |
Definition at line 47 of file class.ilObjectCustomUserFieldsGUI.php.
Referenced by getObjId().
|
private |
Definition at line 48 of file class.ilObjectCustomUserFieldsGUI.php.
|
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.