ILIAS
Release_4_2_x_branch Revision 61807
|
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 | |
$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 |
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 260 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, getObjId(), initFieldForm(), and listFields().
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(), listFields(), saveField(), saveFields(), show(), and updateField().
|
protected |
Init/create property form for fields.
Definition at line 313 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().
|
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 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 |
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 283 of file class.ilObjectCustomUserFieldsGUI.php.
References $_REQUEST, 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.
|
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.