ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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 | |
ILIAS Repository Deletion Deletion | $deletion |
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, ilTree\getPathFull(), and ilUtil\stripSlashes().
Referenced by handleMultiReferences().
|
protected |
Definition at line 87 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, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getClassByType(), ilObjectPlugin\lookupTxtById(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilRepositoryTrashGUI::deleteObjects | ( | int | $a_cur_ref_id, |
array | $a_ref_ids | ||
) |
Definition at line 404 of file class.ilRepositoryTrashGUI.php.
References Vendor\Package\$e, $ilSetting, $lng, $settings, and ilLanguage\txt().
ilRepositoryTrashGUI::doRestoreToNewLocation | ( | ) |
ilDatabaseException | |
ilObjectNotFoundException |
Definition at line 117 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 71 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 244 of file class.ilRepositoryTrashGUI.php.
References $access, $lng, $path, $tree, ilObject\_getAllReferences(), buildPath(), ILIAS\UICore\GlobalTemplate\get(), ilTree\isDeleted(), ilLanguage\loadLanguageModule(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ILIAS\UICore\GlobalTemplate\setVariable(), and ilLanguage\txt().
Referenced by showDeleteConfirmation().
|
protected |
Definition at line 138 of file class.ilRepositoryTrashGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ROOT_FOLDER_ID.
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 367 of file class.ilRepositoryTrashGUI.php.
References Vendor\Package\$e, $lng, ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), ilRepUtil\restoreObjects(), and ilLanguage\txt().
ilRepositoryTrashGUI::restoreToNewLocation | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 92 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 176 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(), ILIAS\UICore\GlobalTemplate\setContent(), ilUtil\stripSlashes(), and ilLanguage\txt().
ilRepositoryTrashGUI::showTrashTable | ( | int | $a_ref_id | ) |
Definition at line 342 of file class.ilRepositoryTrashGUI.php.
References $lng, $tpl, $tree, ilTree\getSavedNodeData(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
|
protected |
Definition at line 35 of file class.ilRepositoryTrashGUI.php.
Referenced by handleMultiReferences().
|
protected |
Definition at line 32 of file class.ilRepositoryTrashGUI.php.
Referenced by confirmRemoveFromSystemObject(), and showDeleteConfirmation().
|
protected |
Definition at line 29 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 30 of file class.ilRepositoryTrashGUI.php.
Referenced by confirmRemoveFromSystemObject(), deleteObjects(), handleMultiReferences(), removeObjectsFromSystem(), restoreObjects(), showDeleteConfirmation(), and showTrashTable().
Definition at line 37 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 34 of file class.ilRepositoryTrashGUI.php.
Referenced by confirmRemoveFromSystemObject(), and showDeleteConfirmation().
|
protected |
Definition at line 40 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 39 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 38 of file class.ilRepositoryTrashGUI.php.
|
protected |
Definition at line 31 of file class.ilRepositoryTrashGUI.php.
Referenced by deleteObjects(), and showDeleteConfirmation().
|
protected |
Definition at line 33 of file class.ilRepositoryTrashGUI.php.
Referenced by confirmRemoveFromSystemObject(), showDeleteConfirmation(), and showTrashTable().
|
protected |
Definition at line 36 of file class.ilRepositoryTrashGUI.php.
Referenced by buildPath(), handleMultiReferences(), and showTrashTable().