|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Repository GUI Utilities. More...
Collaboration diagram for ilRepositoryTrashGUI:Public Member Functions | |
| executeCommand () | |
| restoreToNewLocation (ilPropertyFormGUI $form=null) | |
| doRestoreToNewLocation () | |
| showDeleteConfirmation (?array $a_ids, bool $a_supress_message=false) | |
| handleMultiReferences (int $a_obj_id, int $a_ref_id, string $a_form_name) | |
| showTrashTable (int $a_ref_id) | |
| restoreObjects (int $a_cur_ref_id, array $a_ref_ids) | |
| Restore objects from trash. More... | |
| deleteObjects (int $a_cur_ref_id, array $a_ref_ids) | |
| removeObjectsFromSystem (array $a_ref_ids, bool $a_from_recovery_folder=false) | |
| confirmRemoveFromSystemObject (array $a_ids) | |
| Confirmation for trash. More... | |
Protected Member Functions | |
| cancel () | |
| initFormTrashTargetLocation () | |
| buildPath (array $ref_ids) | |
| Build path with deep-link. More... | |
Protected Attributes | |
| ilLanguage | $lng |
| ilSetting | $settings |
| ilCtrl | $ctrl |
| ilGlobalTemplateInterface | $tpl |
| ilObjectDefinition | $obj_definition |
| ilAccessHandler | $access |
| ilTree | $tree |
| ilLogger | $logger = null |
| TrashGUIRequest | $request |
| object | $parent_gui |
| string | $parent_cmd |
Repository GUI Utilities.
Definition at line 27 of file class.ilRepositoryTrashGUI.php.
|
protected |
Build path with deep-link.
Definition at line 455 of file class.ilRepositoryTrashGUI.php.
References $data, $path, $ref_id, $tree, ilTree\getPathFull(), and ilUtil\stripSlashes().
Referenced by handleMultiReferences().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 85 of file class.ilRepositoryTrashGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilRepositoryTrashGUI::confirmRemoveFromSystemObject | ( | array | $a_ids | ) |
Confirmation for trash.
| array | $a_ids | ref_ids |
Definition at line 490 of file class.ilRepositoryTrashGUI.php.
References $ctrl, $id, $lng, $obj_definition, $tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getClassByType(), ilObjectPlugin\lookupTxtById(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:| ilRepositoryTrashGUI::deleteObjects | ( | int | $a_cur_ref_id, |
| array | $a_ref_ids | ||
| ) |
Definition at line 402 of file class.ilRepositoryTrashGUI.php.
References Vendor\Package\$e, $ilSetting, $lng, $settings, ilRepUtil\deleteObjects(), and ilLanguage\txt().
Here is the call graph for this function:| ilRepositoryTrashGUI::doRestoreToNewLocation | ( | ) |
| ilDatabaseException | |
| ilObjectNotFoundException |
Definition at line 115 of file class.ilRepositoryTrashGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), initFormTrashTargetLocation(), ILIAS\Repository\lng(), and ilRepUtil\restoreObjects().
Here is the call graph for this function:| ilRepositoryTrashGUI::executeCommand | ( | ) |
| ilCtrlException |
Definition at line 69 of file class.ilRepositoryTrashGUI.php.
References ILIAS\Repository\ctrl(), and initFormTrashTargetLocation().
Here is the call graph for this function:| ilRepositoryTrashGUI::handleMultiReferences | ( | int | $a_obj_id, |
| int | $a_ref_id, | ||
| string | $a_form_name | ||
| ) |
Definition at line 242 of file class.ilRepositoryTrashGUI.php.
References $access, $lng, $path, $tree, ilObject\_getAllReferences(), buildPath(), ilGlobalTemplateInterface\get(), ilTree\isDeleted(), ilLanguage\loadLanguageModule(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), ilGlobalTemplateInterface\setVariable(), and ilLanguage\txt().
Referenced by showDeleteConfirmation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 136 of file class.ilRepositoryTrashGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ROOT_FOLDER_ID, ilFormPropertyGUI\setRequired(), and ilExplorerBaseGUI\setSelectMode().
Referenced by doRestoreToNewLocation(), executeCommand(), and restoreToNewLocation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepositoryTrashGUI::removeObjectsFromSystem | ( | array | $a_ref_ids, |
| bool | $a_from_recovery_folder = false |
||
| ) |
Definition at line 427 of file class.ilRepositoryTrashGUI.php.
References Vendor\Package\$e, $lng, ilRepUtil\removeObjectsFromSystem(), and ilLanguage\txt().
Here is the call graph for this function:| ilRepositoryTrashGUI::restoreObjects | ( | int | $a_cur_ref_id, |
| array | $a_ref_ids | ||
| ) |
Restore objects from trash.
| int | $a_cur_ref_id | |
| int[] | $a_ref_ids array of ref ids to be restored |
Definition at line 365 of file class.ilRepositoryTrashGUI.php.
References Vendor\Package\$e, $lng, ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), ilRepUtil\restoreObjects(), and ilLanguage\txt().
Here is the call graph for this function:| ilRepositoryTrashGUI::restoreToNewLocation | ( | ilPropertyFormGUI | $form = null | ) |
Definition at line 90 of file class.ilRepositoryTrashGUI.php.
References ILIAS\Repository\ctrl(), initFormTrashTargetLocation(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilRepositoryTrashGUI::showDeleteConfirmation | ( | ?array | $a_ids, |
| bool | $a_supress_message = false |
||
| ) |
Definition at line 174 of file class.ilRepositoryTrashGUI.php.
References $ctrl, $ilSetting, $lng, $obj_definition, $ref_id, $settings, $tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObject\collectDeletionDependencies(), ilObjectFactory\getClassByType(), handleMultiReferences(), ilObjectPlugin\lookupTxtById(), ilGlobalTemplateInterface\setContent(), ilUtil\stripSlashes(), and ilLanguage\txt().
Here is the call graph for this function:| ilRepositoryTrashGUI::showTrashTable | ( | int | $a_ref_id | ) |
Definition at line 340 of file class.ilRepositoryTrashGUI.php.
References $lng, $tpl, $tree, ilTree\getSavedNodeData(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 34 of file class.ilRepositoryTrashGUI.php.
Referenced by handleMultiReferences().
|
protected |
Definition at line 31 of file class.ilRepositoryTrashGUI.php.
Referenced by confirmRemoveFromSystemObject(), and showDeleteConfirmation().
|
protected |
Definition at line 29 of file class.ilRepositoryTrashGUI.php.
Referenced by confirmRemoveFromSystemObject(), deleteObjects(), handleMultiReferences(), removeObjectsFromSystem(), restoreObjects(), showDeleteConfirmation(), and showTrashTable().
|
protected |
Definition at line 36 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 33 of file class.ilRepositoryTrashGUI.php.
Referenced by confirmRemoveFromSystemObject(), and showDeleteConfirmation().
|
protected |
Definition at line 39 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 38 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 37 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 30 of file class.ilRepositoryTrashGUI.php.
Referenced by deleteObjects(), and showDeleteConfirmation().
|
protected |
Definition at line 32 of file class.ilRepositoryTrashGUI.php.
Referenced by confirmRemoveFromSystemObject(), showDeleteConfirmation(), and showTrashTable().
|
protected |
Definition at line 35 of file class.ilRepositoryTrashGUI.php.
Referenced by buildPath(), handleMultiReferences(), and showTrashTable().