ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilDclFieldEditGUI. More...
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 56 of file class.ilDclFieldEditGUI.php.
References $_GET, $_POST, $DIC, $ilCtrl, ilDclDatatype\getAllDatatype(), ilDclCache\getFieldCache(), ilDclFieldFactory\getFieldModelInstance(), and ilDclCache\getTableCache().
ilDclFieldEditGUI::cancel | ( | ) |
Definition at line 208 of file class.ilDclFieldEditGUI.php.
ilDclFieldEditGUI::cancelDelete | ( | ) |
|
protected |
Definition at line 401 of file class.ilDclFieldEditGUI.php.
References getDataCollectionObject(), ilObjDataCollectionAccess\hasAccessToField(), and ilObjDataCollectionAccess\hasAccessToFields().
Referenced by executeCommand().
|
protected |
Check input of form.
$a_mode | 'create' | 'update' |
Definition at line 361 of file class.ilDclFieldEditGUI.php.
References $DIC, $lng, $title, ilDclTable\_hasFieldByTitle(), ilDclFieldFactory\getFieldModelInstanceByClass(), and ilUtil\sendFailure().
Referenced by save().
ilDclFieldEditGUI::confirmDelete | ( | ) |
ilDclFieldEditGUI::create | ( | ) |
create field add form
Definition at line 119 of file class.ilDclFieldEditGUI.php.
References $DIC, $tpl, and initForm().
ilDclFieldEditGUI::delete | ( | ) |
Definition at line 195 of file class.ilDclFieldEditGUI.php.
ilDclFieldEditGUI::edit | ( | ) |
create field edit form
Definition at line 132 of file class.ilDclFieldEditGUI.php.
References $DIC, $tpl, and initForm().
ilDclFieldEditGUI::executeCommand | ( | ) |
execute command
Definition at line 89 of file class.ilDclFieldEditGUI.php.
References $DIC, $ilCtrl, checkAccess(), permissionDenied(), and save().
ilDclFieldEditGUI::getDataCollectionObject | ( | ) |
Definition at line 413 of file class.ilDclFieldEditGUI.php.
Referenced by checkAccess(), and initForm().
ilDclFieldEditGUI::initForm | ( | $a_mode = "create" | ) |
initEditCustomForm
string | $a_mode | values: create | edit |
Definition at line 221 of file class.ilDclFieldEditGUI.php.
References $DIC, $field_obj, $ilCtrl, $lng, ilDclBaseFieldModel\_getTitleInvalidChars(), ilDclDatatype\getAllDatatype(), getDataCollectionObject(), ilDclFieldFactory\getFieldRepresentationInstance(), ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by create(), edit(), and save().
ilDclFieldEditGUI::permissionDenied | ( | ) |
Definition at line 148 of file class.ilDclFieldEditGUI.php.
Referenced by executeCommand().
ilDclFieldEditGUI::save | ( | $a_mode = "create" | ) |
save Field
string | $a_mode | values: create | update |
Definition at line 297 of file class.ilDclFieldEditGUI.php.
References $DIC, $ilCtrl, $lng, $title, $tpl, checkInput(), initForm(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by executeCommand().
|
protected |
Definition at line 46 of file class.ilDclFieldEditGUI.php.
Referenced by initForm().
|
protected |
Definition at line 42 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 22 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 32 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 37 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 27 of file class.ilDclFieldEditGUI.php.