ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 (string $a_mode="create") | |
initEditCustomForm More... | |
save (string $a_mode="create") | |
save Field More... | |
getDataCollectionObject () | |
Protected Member Functions | |
checkInput (string $a_mode) | |
Check input of form. More... | |
checkAccess () | |
Protected Attributes | |
int | $obj_id |
int | $table_id |
ilDclTableListGUI | $parent_obj |
ilDclTable | $table |
ilPropertyFormGUI | $form |
ilDclBaseFieldModel | $field_obj |
ILIAS HTTP Services | $http |
ILIAS Refinery Factory | $refinery |
int | $field_id |
Private Attributes | |
ilGlobalTemplateInterface | $main_tpl |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 of file class.ilDclFieldEditGUI.php.
ilDclFieldEditGUI::__construct | ( | ilDclTableListGUI | $a_parent_obj | ) |
Constructor.
Definition at line 36 of file class.ilDclFieldEditGUI.php.
References $DIC, ilDclDatatype\getAllDatatype(), ilDclCache\getFieldCache(), ilDclFieldFactory\getFieldModelInstance(), ilDclTableListGUI\getObjId(), ilDclCache\getTableCache(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
ilDclFieldEditGUI::cancel | ( | ) |
ilDclFieldEditGUI::cancelDelete | ( | ) |
|
protected |
Definition at line 380 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 341 of file class.ilDclFieldEditGUI.php.
References $DIC, $lng, ilDclTable\_hasFieldByTitle(), ILIAS\Repository\form(), and ilDclFieldFactory\getFieldModelInstanceByClass().
Referenced by save().
ilDclFieldEditGUI::confirmDelete | ( | ) |
confirmDelete
Definition at line 152 of file class.ilDclFieldEditGUI.php.
References $DIC, $lng, and $tpl.
ilDclFieldEditGUI::create | ( | ) |
create field add form
Definition at line 115 of file class.ilDclFieldEditGUI.php.
References $DIC, $tpl, ILIAS\Repository\form(), and initForm().
ilDclFieldEditGUI::delete | ( | ) |
ilDclFieldEditGUI::edit | ( | ) |
create field edit form
Definition at line 127 of file class.ilDclFieldEditGUI.php.
References $DIC, $tpl, ILIAS\Repository\form(), and initForm().
ilDclFieldEditGUI::executeCommand | ( | ) |
execute command
Definition at line 89 of file class.ilDclFieldEditGUI.php.
References $DIC, checkAccess(), permissionDenied(), and save().
ilDclFieldEditGUI::getDataCollectionObject | ( | ) |
Definition at line 399 of file class.ilDclFieldEditGUI.php.
Referenced by checkAccess(), and initForm().
ilDclFieldEditGUI::initForm | ( | string | $a_mode = "create" | ) |
initEditCustomForm
string | $a_mode | values: create | edit |
Definition at line 208 of file class.ilDclFieldEditGUI.php.
References $DIC, $field_obj, $lng, ilDclBaseFieldModel\_getTitleInvalidChars(), ILIAS\Repository\form(), ilDclDatatype\getAllDatatype(), getDataCollectionObject(), ilDclFieldFactory\getFieldModelInstanceByClass(), ilDclFieldFactory\getFieldRepresentationInstance(), and ilFormPropertyGUI\setInfo().
Referenced by create(), edit(), and save().
ilDclFieldEditGUI::permissionDenied | ( | ) |
Definition at line 142 of file class.ilDclFieldEditGUI.php.
Referenced by executeCommand().
ilDclFieldEditGUI::save | ( | string | $a_mode = "create" | ) |
save Field
string | $a_mode | values: create | update |
Definition at line 281 of file class.ilDclFieldEditGUI.php.
References $DIC, $lng, $tpl, checkInput(), ILIAS\Repository\form(), and initForm().
Referenced by executeCommand().
|
protected |
Definition at line 31 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 27 of file class.ilDclFieldEditGUI.php.
Referenced by initForm().
|
protected |
Definition at line 26 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 29 of file class.ilDclFieldEditGUI.php.
|
private |
Definition at line 28 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 21 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 24 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 30 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 25 of file class.ilDclFieldEditGUI.php.
|
protected |
Definition at line 22 of file class.ilDclFieldEditGUI.php.