|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDclFieldEditGUI. More...
Collaboration diagram for ilDclFieldEditGUI:Public Member Functions | |
| __construct (ilDclTableListGUI $a_parent_obj) | |
| Constructor. More... | |
| executeCommand () | |
| execute command More... | |
| create () | |
| create field add form More... | |
| edit () | |
| create field edit form More... | |
| permissionDenied () | |
| confirmDelete () | |
| confirmDelete More... | |
| cancelDelete () | |
| cancelDelete More... | |
| delete () | |
| cancel () | |
| initForm ($a_mode="create") | |
| initEditCustomForm More... | |
| save ($a_mode="create") | |
| save Field More... | |
| getDataCollectionObject () | |
Protected Member Functions | |
| checkInput ($a_mode) | |
| Check input of form. More... | |
| checkAccess () | |
Protected Attributes | |
| $obj_id | |
| $table_id | |
| $parent_obj | |
| $table | |
| $form | |
| $field_obj | |
| ilDclFieldEditGUI::__construct | ( | ilDclTableListGUI | $a_parent_obj | ) |
Constructor.
| ilDclTableListGUI | $a_parent_obj | |
| int | $table_id | We need a table_id if no field_id is set (creation mode). We ignore the table_id by edit mode |
| int | $field_id | The field_id of a existing fiel (edit mode) |
Definition at line 53 of file class.ilDclFieldEditGUI.php.
References $_GET, $_POST, $DIC, $ilCtrl, ilDclDatatype\getAllDatatype(), ilDclCache\getFieldCache(), ilDclFieldFactory\getFieldModelInstance(), and ilDclCache\getTableCache().
Here is the call graph for this function:| ilDclFieldEditGUI::cancel | ( | ) |
| ilDclFieldEditGUI::cancelDelete | ( | ) |
|
protected |
Definition at line 398 of file class.ilDclFieldEditGUI.php.
References getDataCollectionObject(), ilObjDataCollectionAccess\hasAccessToField(), and ilObjDataCollectionAccess\hasAccessToFields().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check input of form.
| $a_mode | 'create' | 'update' |
Definition at line 358 of file class.ilDclFieldEditGUI.php.
References $DIC, $lng, $title, ilDclTable\_hasFieldByTitle(), ilDclFieldFactory\getFieldModelInstanceByClass(), and ilUtil\sendFailure().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclFieldEditGUI::confirmDelete | ( | ) |
confirmDelete
Definition at line 156 of file class.ilDclFieldEditGUI.php.
| ilDclFieldEditGUI::create | ( | ) |
create field add form
Definition at line 116 of file class.ilDclFieldEditGUI.php.
References $DIC, $tpl, and initForm().
Here is the call graph for this function:| ilDclFieldEditGUI::delete | ( | ) |
| ilDclFieldEditGUI::edit | ( | ) |
create field edit form
Definition at line 129 of file class.ilDclFieldEditGUI.php.
References $DIC, $tpl, and initForm().
Here is the call graph for this function:| ilDclFieldEditGUI::executeCommand | ( | ) |
execute command
Definition at line 86 of file class.ilDclFieldEditGUI.php.
References $DIC, $ilCtrl, checkAccess(), permissionDenied(), and save().
Here is the call graph for this function:| ilDclFieldEditGUI::getDataCollectionObject | ( | ) |
Definition at line 410 of file class.ilDclFieldEditGUI.php.
Referenced by checkAccess(), and initForm().
Here is the caller graph for this function:| ilDclFieldEditGUI::initForm | ( | $a_mode = "create" | ) |
initEditCustomForm
| string | $a_mode | values: create | edit |
Definition at line 218 of file class.ilDclFieldEditGUI.php.
References $DIC, $field_obj, $ilCtrl, $lng, ilDclBaseFieldModel\_getTitleInvalidChars(), ilDclDatatype\getAllDatatype(), getDataCollectionObject(), and ilDclFieldFactory\getFieldRepresentationInstance().
Referenced by create(), edit(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclFieldEditGUI::permissionDenied | ( | ) |
Definition at line 145 of file class.ilDclFieldEditGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilDclFieldEditGUI::save | ( | $a_mode = "create" | ) |
save Field
| string | $a_mode | values: create | update |
Definition at line 294 of file class.ilDclFieldEditGUI.php.
References $DIC, $ilCtrl, $lng, $title, $tpl, checkInput(), initForm(), and ilUtil\sendInfo().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 43 of file class.ilDclFieldEditGUI.php.
Referenced by initForm().
|
protected |
Definition at line 39 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 23 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 31 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 35 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 27 of file class.ilDclFieldEditGUI.php.