|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Collaboration diagram for ilDclRecordEditGUI:Public Member Functions | |
| __construct (ilObjDataCollectionGUI $parent_obj, int $table_id, int $tableview_id) | |
| executeCommand () | |
| getRecord () | |
| create () | |
| Create new record gui. More... | |
| edit () | |
| Record edit gui. More... | |
| confirmDelete () | |
| Delete confirmation. More... | |
| cancelDelete () | |
| Cancel deletion. More... | |
| delete () | |
| Remove record. More... | |
| getRecordData (int $record_id=0) | |
| Return All fields and values from a record ID. More... | |
| initForm () | |
| init Form @move move parts to RecordRepresentationGUI More... | |
| setFormValues () | |
| Set values from object to form. More... | |
| cancelUpdate () | |
| Cancel Update. More... | |
| cancelSave () | |
| Cancel Save. More... | |
| save () | |
| getForm () | |
Data Fields | |
| const | REDIRECT_RECORD_LIST = 1 |
| Possible redirects after saving/updating a record - use GET['redirect'] to set constants. More... | |
| const | REDIRECT_DETAIL = 2 |
Protected Member Functions | |
| rebuildUploadsForFileHash (bool $has_ilfilehash) | |
| checkAndPerformRedirect (bool $force_redirect=false) | |
| Checks to what view (table or detail) should be redirected and performs redirect. More... | |
| accessDenied () | |
| sendFailure (string $message) | |
| cleanupTempFiles () | |
Protected Attributes | |
| int | $tableview_id = null |
| int | $record_id = null |
| int | $table_id = 1 |
| ilDclTable | $table |
| ilObjDataCollectionGUI | $parent_obj |
| ilDclBaseRecordModel | $record |
| ilCtrl | $ctrl |
| ilGlobalPageTemplate | $tpl |
| ilLanguage | $lng |
| ilObjUser | $user |
| ilDclPropertyFormGUI | $form |
| ilDclTableView | $tableview |
| ILIAS HTTP Services | $http |
| ILIAS Refinery Factory | $refinery |
Definition at line 23 of file class.ilDclRecordEditGUI.php.
| ilDclRecordEditGUI::__construct | ( | ilObjDataCollectionGUI | $parent_obj, |
| int | $table_id, | ||
| int | $tableview_id | ||
| ) |
Definition at line 46 of file class.ilDclRecordEditGUI.php.
References $DIC, $parent_obj, $table_id, $tableview_id, ILIAS\Repository\ctrl(), ilDclTableView\findOrGetInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 720 of file class.ilDclRecordEditGUI.php.
References ILIAS\Repository\ctrl(), exit, and ILIAS\Repository\lng().
Referenced by delete(), getRecord(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclRecordEditGUI::cancelDelete | ( | ) |
Cancel deletion.
Definition at line 225 of file class.ilDclRecordEditGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilDclRecordEditGUI::cancelSave | ( | ) |
Cancel Save.
Definition at line 404 of file class.ilDclRecordEditGUI.php.
References cancelUpdate().
Here is the call graph for this function:| ilDclRecordEditGUI::cancelUpdate | ( | ) |
Cancel Update.
Definition at line 396 of file class.ilDclRecordEditGUI.php.
References checkAndPerformRedirect().
Referenced by cancelSave().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Checks to what view (table or detail) should be redirected and performs redirect.
Definition at line 697 of file class.ilDclRecordEditGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), REDIRECT_DETAIL, REDIRECT_RECORD_LIST, and ILIAS\Repository\refinery().
Referenced by cancelUpdate(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 762 of file class.ilDclRecordEditGUI.php.
References ILIAS\Repository\form(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclRecordEditGUI::confirmDelete | ( | ) |
Delete confirmation.
| ilDclException |
Definition at line 197 of file class.ilDclRecordEditGUI.php.
References $record, ILIAS\Repository\ctrl(), ilDclBaseRecordModel\getId(), ilDclCache\getRecordCache(), ilDclCache\getRecordFieldCache(), ilDclCache\getRecordRepresentation(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilDclRecordEditGUI::create | ( | ) |
Create new record gui.
Definition at line 173 of file class.ilDclRecordEditGUI.php.
References $DIC, ILIAS\Repository\form(), and initForm().
Here is the call graph for this function:| ilDclRecordEditGUI::delete | ( | ) |
Remove record.
Definition at line 233 of file class.ilDclRecordEditGUI.php.
References $record, accessDenied(), ILIAS\Repository\ctrl(), ilDclBaseRecordModel\doDelete(), ilDclCache\getRecordCache(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilDclRecordEditGUI::edit | ( | ) |
Record edit gui.
Definition at line 184 of file class.ilDclRecordEditGUI.php.
References cleanupTempFiles(), ILIAS\Repository\form(), initForm(), and setFormValues().
Here is the call graph for this function:| ilDclRecordEditGUI::executeCommand | ( | ) |
Definition at line 135 of file class.ilDclRecordEditGUI.php.
References ILIAS\Repository\ctrl(), and getRecord().
Here is the call graph for this function:| ilDclRecordEditGUI::getForm | ( | ) |
Definition at line 771 of file class.ilDclRecordEditGUI.php.
References $form.
| ilDclRecordEditGUI::getRecord | ( | ) |
Definition at line 143 of file class.ilDclRecordEditGUI.php.
References accessDenied(), ILIAS\Repository\ctrl(), ilDclCache\getRecordCache(), ilDclCache\getTableCache(), ilObjDataCollectionAccess\hasAddRecordAccess(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclRecordEditGUI::getRecordData | ( | int | $record_id = 0 | ) |
Return All fields and values from a record ID.
If this method is requested over AJAX, data is returned in JSON format
| int | $record_id |
Definition at line 254 of file class.ilDclRecordEditGUI.php.
References $record, $record_id, ILIAS\Repository\ctrl(), exit, ilDclCache\getRecordCache(), ilDclBaseRecordModel\getRecordFieldValues(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilDclRecordEditGUI::initForm | ( | ) |
init Form @move move parts to RecordRepresentationGUI
Definition at line 276 of file class.ilDclRecordEditGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilDclCache\getFieldRepresentation(), ilObjDataCollectionAccess\hasWriteAccess(), and ILIAS\Repository\lng().
Referenced by create(), edit(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 78 of file class.ilDclRecordEditGUI.php.
References $data, ILIAS\Repository\form(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclRecordEditGUI::save | ( | ) |
Definition at line 487 of file class.ilDclRecordEditGUI.php.
References $DIC, Vendor\Package\$e, $table_id, ilObjUser\_lookupId(), accessDenied(), checkAndPerformRedirect(), ILIAS\Repository\ctrl(), ilDclBaseRecordModel\doCreate(), ilDclBaseRecordModel\doUpdate(), exit, ILIAS\Repository\form(), ilDclBaseRecordModel\getId(), ilDclCache\getRecordCache(), ilUtil\getSystemMessageHTML(), ilObjDataCollectionAccess\hasPermissionToAddRecord(), ilDclBaseRecordModel\hasPermissionToEdit(), ilObjDataCollectionAccess\hasWriteAccess(), ILIAS\FileDelivery\http(), IL_CAL_UNIX, initForm(), ILIAS\Repository\lng(), ilDclPropertyFormGUI\rebuildTempFileByHash(), rebuildUploadsForFileHash(), ILIAS\Repository\refinery(), sendFailure(), ilDclBaseRecordModel\setCreateDate(), setFormValues(), ilDclBaseRecordModel\setLastEditBy(), ilDclBaseRecordModel\setLastUpdate(), ilDclBaseRecordModel\setOwner(), ilDclBaseRecordModel\setRecordFieldValue(), ilDclBaseRecordModel\setRecordFieldValueFromForm(), ilDclBaseRecordModel\setTableId(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 731 of file class.ilDclRecordEditGUI.php.
References $message, ILIAS\Repository\ctrl(), exit, ilDclBaseRecordModel\fillRecordFieldFormInput(), ILIAS\Repository\form(), ilDclBaseRecordModel\getId(), ilDclCache\getRecordCache(), and ilUtil\getSystemMessageHTML().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclRecordEditGUI::setFormValues | ( | ) |
Set values from object to form.
Definition at line 373 of file class.ilDclRecordEditGUI.php.
References ILIAS\Repository\form(), ilDclCache\getRecordCache(), and ilDclDatatype\INPUTFORMAT_NONE.
Referenced by edit(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 37 of file class.ilDclRecordEditGUI.php.
|
protected |
Definition at line 41 of file class.ilDclRecordEditGUI.php.
Referenced by getForm().
|
protected |
Definition at line 43 of file class.ilDclRecordEditGUI.php.
|
protected |
Definition at line 39 of file class.ilDclRecordEditGUI.php.
|
protected |
Definition at line 35 of file class.ilDclRecordEditGUI.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilDclRecordEditGUI.php.
Referenced by confirmDelete(), delete(), and getRecordData().
|
protected |
Definition at line 32 of file class.ilDclRecordEditGUI.php.
Referenced by getRecordData().
|
protected |
Definition at line 44 of file class.ilDclRecordEditGUI.php.
|
protected |
Definition at line 34 of file class.ilDclRecordEditGUI.php.
|
protected |
Definition at line 33 of file class.ilDclRecordEditGUI.php.
Referenced by __construct(), and save().
|
protected |
Definition at line 42 of file class.ilDclRecordEditGUI.php.
|
protected |
Definition at line 31 of file class.ilDclRecordEditGUI.php.
Referenced by __construct().
|
protected |
Definition at line 38 of file class.ilDclRecordEditGUI.php.
|
protected |
Definition at line 40 of file class.ilDclRecordEditGUI.php.
| const ilDclRecordEditGUI::REDIRECT_DETAIL = 2 |
Definition at line 29 of file class.ilDclRecordEditGUI.php.
Referenced by checkAndPerformRedirect(), and ilDclDetailedViewGUI\renderRecord().
| const ilDclRecordEditGUI::REDIRECT_RECORD_LIST = 1 |
Possible redirects after saving/updating a record - use GET['redirect'] to set constants.
Definition at line 28 of file class.ilDclRecordEditGUI.php.
Referenced by checkAndPerformRedirect().