|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilDataCollectionFieldEditGUI. More...
Collaboration diagram for ilDataCollectionFieldEditGUI:Public Member Functions | |
| __construct (ilObjDataCollectionGUI $a_parent_obj, $table_id, $field_id) | |
| 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... | |
Data Fields | |
| const | REFERENCE_SEPARATOR = " -> " |
Protected Member Functions | |
| checkInput ($a_mode) | |
| Check input of form. More... | |
Protected Attributes | |
| $obj_id | |
| $table_id | |
| $parent_obj | |
| $table | |
| $form | |
Private Member Functions | |
| accessDenied () | |
Class ilDataCollectionFieldEditGUI.
Definition at line 22 of file class.ilDataCollectionFieldEditGUI.php.
| ilDataCollectionFieldEditGUI::__construct | ( | ilObjDataCollectionGUI | $a_parent_obj, |
| $table_id, | |||
| $field_id | |||
| ) |
Constructor.
| object | $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 59 of file class.ilDataCollectionFieldEditGUI.php.
References $_GET, $ilCtrl, $table_id, ilDataCollectionCache\getFieldCache(), and ilDataCollectionCache\getTableCache().
Here is the call graph for this function:
|
private |
Definition at line 500 of file class.ilDataCollectionFieldEditGUI.php.
References $tpl.
Referenced by save().
Here is the caller graph for this function:| ilDataCollectionFieldEditGUI::cancel | ( | ) |
Definition at line 192 of file class.ilDataCollectionFieldEditGUI.php.
References $ilCtrl.
| ilDataCollectionFieldEditGUI::cancelDelete | ( | ) |
cancelDelete
Definition at line 171 of file class.ilDataCollectionFieldEditGUI.php.
References $ilCtrl.
|
protected |
Check input of form.
| $a_mode | 'create' | 'update' |
Definition at line 464 of file class.ilDataCollectionFieldEditGUI.php.
References $lng, ilDataCollectionTable\_hasFieldByTitle(), ilDataCollectionDatatype\INPUTFORMAT_TEXT, ilDataCollectionField\PROPERTYID_LENGTH, ilDataCollectionField\PROPERTYID_TEXTAREA, and ilUtil\sendFailure().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionFieldEditGUI::confirmDelete | ( | ) |
confirmDelete
Definition at line 151 of file class.ilDataCollectionFieldEditGUI.php.
| ilDataCollectionFieldEditGUI::create | ( | ) |
create field add form
Definition at line 118 of file class.ilDataCollectionFieldEditGUI.php.
References $tpl, and initForm().
Here is the call graph for this function:| ilDataCollectionFieldEditGUI::delete | ( | ) |
Definition at line 181 of file class.ilDataCollectionFieldEditGUI.php.
References $ilCtrl.
| ilDataCollectionFieldEditGUI::edit | ( | ) |
create field edit form
Definition at line 129 of file class.ilDataCollectionFieldEditGUI.php.
References $tpl, getValues(), and initForm().
Here is the call graph for this function:| ilDataCollectionFieldEditGUI::executeCommand | ( | ) |
execute command
Definition at line 91 of file class.ilDataCollectionFieldEditGUI.php.
References $cmd, $ilCtrl, $ilUser, $tpl, permissionDenied(), and save().
Here is the call graph for this function:| ilDataCollectionFieldEditGUI::getValues | ( | ) |
getFieldValues
Definition at line 362 of file class.ilDataCollectionFieldEditGUI.php.
References ilDataCollectionDatatype\getAllDatatypes(), and ilDataCollectionDatatype\getProperties().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionFieldEditGUI::initForm | ( | $a_mode = "create" | ) |
initEditCustomForm
| string | $a_mode | values: create | edit |
Definition at line 203 of file class.ilDataCollectionFieldEditGUI.php.
References $_GET, $ilCtrl, $lng, ilDataCollectionDatatype\$mob_suffixes, $options, $table, ilDataCollectionField\_getTitleValidChars(), ilDataCollectionDatatype\getAllDatatypes(), ilDclExpressionParser\getFunctions(), ilDclExpressionParser\getOperators(), ilDataCollectionDatatype\getProperties(), ilDataCollectionCache\getTableCache(), ilDataCollectionDatatype\INPUTFORMAT_BOOLEAN, ilDataCollectionDatatype\INPUTFORMAT_MOB, ilDataCollectionDatatype\INPUTFORMAT_NON_EDITABLE_VALUE, ilDataCollectionDatatype\INPUTFORMAT_NUMBER, ilDataCollectionDatatype\INPUTFORMAT_REFERENCE, ilDataCollectionDatatype\INPUTFORMAT_REFERENCELIST, ilDataCollectionField\PROPERTYID_FORMULA_EXPRESSION, ilDataCollectionField\PROPERTYID_N_REFERENCE, and ilDataCollectionField\PROPERTYID_REFERENCE.
Referenced by create(), edit(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDataCollectionFieldEditGUI::permissionDenied | ( | ) |
Definition at line 142 of file class.ilDataCollectionFieldEditGUI.php.
References $tpl.
Referenced by executeCommand().
Here is the caller graph for this function:| ilDataCollectionFieldEditGUI::save | ( | $a_mode = "create" | ) |
save Field
| string | $a_mode | values: create | update |
Definition at line 394 of file class.ilDataCollectionFieldEditGUI.php.
References $ilCtrl, $lng, $tpl, accessDenied(), checkInput(), ilDataCollectionDatatype\getProperties(), initForm(), 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 50 of file class.ilDataCollectionFieldEditGUI.php.
|
protected |
Definition at line 30 of file class.ilDataCollectionFieldEditGUI.php.
|
protected |
Definition at line 40 of file class.ilDataCollectionFieldEditGUI.php.
|
protected |
Definition at line 45 of file class.ilDataCollectionFieldEditGUI.php.
Referenced by initForm().
|
protected |
Definition at line 35 of file class.ilDataCollectionFieldEditGUI.php.
Referenced by __construct().
| const ilDataCollectionFieldEditGUI::REFERENCE_SEPARATOR = " -> " |
Definition at line 25 of file class.ilDataCollectionFieldEditGUI.php.