ILIAS
release_8 Revision v8.23
|
Repository GUI Utilities. More...
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 457 of file class.ilRepositoryTrashGUI.php.
References $data, $path, $ref_id, $tree, ilLink\_getLink(), ilTree\getPathFull(), and ilUtil\stripSlashes().
Referenced by handleMultiReferences().
|
protected |
Definition at line 85 of file class.ilRepositoryTrashGUI.php.
References ILIAS\Repository\ctrl().
ilRepositoryTrashGUI::confirmRemoveFromSystemObject | ( | array | $a_ids | ) |
Confirmation for trash.
array | $a_ids | ref_ids |
Definition at line 492 of file class.ilRepositoryTrashGUI.php.
References $ctrl, $id, $lng, $obj_definition, $tpl, $type, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getClassByType(), ilObjectPlugin\lookupTxtById(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilRepositoryTrashGUI::deleteObjects | ( | int | $a_cur_ref_id, |
array | $a_ref_ids | ||
) |
Definition at line 403 of file class.ilRepositoryTrashGUI.php.
References Vendor\Package\$e, $ilSetting, $lng, $settings, ilRepUtil\deleteObjects(), and ilLanguage\txt().
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().
ilRepositoryTrashGUI::executeCommand | ( | ) |
ilCtrlException |
Definition at line 69 of file class.ilRepositoryTrashGUI.php.
References ILIAS\Repository\ctrl(), and initFormTrashTargetLocation().
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().
|
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().
ilRepositoryTrashGUI::removeObjectsFromSystem | ( | array | $a_ref_ids, |
bool | $a_from_recovery_folder = false |
||
) |
Definition at line 429 of file class.ilRepositoryTrashGUI.php.
References Vendor\Package\$e, $lng, ilRepUtil\removeObjectsFromSystem(), and ilLanguage\txt().
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, $target_id, ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), ilRepUtil\restoreObjects(), and ilLanguage\txt().
ilRepositoryTrashGUI::restoreToNewLocation | ( | ilPropertyFormGUI | $form = null | ) |
Definition at line 90 of file class.ilRepositoryTrashGUI.php.
References ILIAS\Repository\ctrl(), initFormTrashTargetLocation(), and ILIAS\Repository\lng().
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, $type, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObject\collectDeletionDependencies(), ilObjectFactory\getClassByType(), handleMultiReferences(), ilObjectPlugin\lookupTxtById(), ilGlobalTemplateInterface\setContent(), ilUtil\stripSlashes(), and ilLanguage\txt().
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().
|
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().