|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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... | |
| getValues () | |
| getFieldValues 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 62 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 420 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 381 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 159 of file class.ilDclFieldEditGUI.php.
| ilDclFieldEditGUI::create | ( | ) |
create field add form
Definition at line 123 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 135 of file class.ilDclFieldEditGUI.php.
References $DIC, $tpl, getValues(), and initForm().
Here is the call graph for this function:| ilDclFieldEditGUI::executeCommand | ( | ) |
execute command
Definition at line 94 of file class.ilDclFieldEditGUI.php.
References $cmd, $DIC, $ilCtrl, checkAccess(), permissionDenied(), and save().
Here is the call graph for this function:| ilDclFieldEditGUI::getDataCollectionObject | ( | ) |
Definition at line 431 of file class.ilDclFieldEditGUI.php.
Referenced by checkAccess(), and initForm().
Here is the caller graph for this function:| ilDclFieldEditGUI::getValues | ( | ) |
getFieldValues
Definition at line 290 of file class.ilDclFieldEditGUI.php.
Referenced by edit().
Here is the caller graph for this function:| ilDclFieldEditGUI::initForm | ( | $a_mode = "create" | ) |
initEditCustomForm
| string | $a_mode | values: create | edit |
Definition at line 217 of file class.ilDclFieldEditGUI.php.
References $DIC, $field_obj, $ilCtrl, $lng, ilDclBaseFieldModel\_getTitleInvalidChars(), ilDclDatatype\getAllDatatype(), getDataCollectionObject(), ilDclFieldFactory\getFieldRepresentationInstance(), and sprintf.
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 149 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 318 of file class.ilDclFieldEditGUI.php.
References $DIC, $ilCtrl, $lng, $title, $tpl, checkInput(), ilDclFieldFactory\getFieldRepresentationInstance(), initForm(), ilDclBaseFieldModel\PROP_PLUGIN_HOOK_NAME, ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 52 of file class.ilDclFieldEditGUI.php.
Referenced by initForm().
|
protected |
Definition at line 48 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 28 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 38 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 43 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 33 of file class.ilDclFieldEditGUI.php.