ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Repository GUI Utilities. More...
Public Member Functions | |
__construct ($a_parent_gui, $a_parent_cmd="") | |
Constructor. More... | |
executeCommand () | |
restoreToNewLocation (\ilPropertyFormGUI $form=null) | |
doRestoreToNewLocation () | |
Perform restore to new location. More... | |
showDeleteConfirmation ($a_ids, $a_supress_message=false) | |
Show delete confirmation table. More... | |
handleMultiReferences ($a_obj_id, $a_ref_id, $a_form_name) | |
Build subitem list for multiple references. More... | |
showTrashTable ($a_ref_id) | |
Get trashed objects for a container. More... | |
restoreObjects ($a_cur_ref_id, $a_ref_ids) | |
Restore objects from trash. More... | |
deleteObjects ($a_cur_ref_id, $a_ref_ids) | |
Delete objects. More... | |
removeObjectsFromSystem ($a_ref_ids, $a_from_recovery_folder=false) | |
Remove objects from system. More... | |
confirmRemoveFromSystemObject ($a_ids) | |
Confirmation for trash. More... | |
Protected Member Functions | |
cancel () | |
Cancel action. More... | |
initFormTrashTargetLocation () | |
buildPath ($ref_ids) | |
Build path with deep-link. More... | |
Protected Attributes | |
$lng | |
$settings | |
$ctrl | |
$tpl | |
$obj_definition | |
$access | |
$tree | |
Private Attributes | |
$logger = null | |
Repository GUI Utilities.
@ilCtrl_Calls ilRepUtilGUI: ilPropertyFormGUI
Definition at line 15 of file class.ilRepUtilGUI.php.
ilRepUtilGUI::__construct | ( | $a_parent_gui, | |
$a_parent_cmd = "" |
|||
) |
Constructor.
object | parent gui object |
string | current parent command (like in table2gui) |
Definition at line 65 of file class.ilRepUtilGUI.php.
References $DIC, and settings().
|
protected |
Build path with deep-link.
array | $ref_ids |
Definition at line 505 of file class.ilRepUtilGUI.php.
References $data, $result, $tree, and ilLink\_getLink().
Referenced by handleMultiReferences().
|
protected |
Cancel action.
Definition at line 108 of file class.ilRepUtilGUI.php.
ilRepUtilGUI::confirmRemoveFromSystemObject | ( | $a_ids | ) |
Confirmation for trash.
array | $a_ids | ref_ids |
Definition at line 542 of file class.ilRepUtilGUI.php.
References $ctrl, $ilCtrl, $lng, $obj_definition, $tpl, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getClassByType(), and ilObjectPlugin\lookupTxtById().
ilRepUtilGUI::deleteObjects | ( | $a_cur_ref_id, | |
$a_ref_ids | |||
) |
Delete objects.
Definition at line 451 of file class.ilRepUtilGUI.php.
References Vendor\Package\$e, $ilSetting, $lng, $settings, ilRepUtil\deleteObjects(), and ilUtil\sendFailure().
ilRepUtilGUI::doRestoreToNewLocation | ( | ) |
Perform restore to new location.
Definition at line 144 of file class.ilRepUtilGUI.php.
References Vendor\Package\$e, initFormTrashTargetLocation(), ilRepUtil\restoreObjects(), and ilUtil\sendFailure().
ilRepUtilGUI::executeCommand | ( | ) |
Definition at line 85 of file class.ilRepUtilGUI.php.
References $DIC, $logger, and initFormTrashTargetLocation().
ilRepUtilGUI::handleMultiReferences | ( | $a_obj_id, | |
$a_ref_id, | |||
$a_form_name | |||
) |
Build subitem list for multiple references.
int | $a_obj_id | |
int | $a_ref_id | |
string | $a_form_name |
Definition at line 289 of file class.ilRepUtilGUI.php.
References $access, $lng, $tpl, $tree, ilObject\_getAllReferences(), and buildPath().
Referenced by showDeleteConfirmation().
|
protected |
Definition at line 171 of file class.ilRepUtilGUI.php.
Referenced by doRestoreToNewLocation(), executeCommand(), and restoreToNewLocation().
ilRepUtilGUI::removeObjectsFromSystem | ( | $a_ref_ids, | |
$a_from_recovery_folder = false |
|||
) |
Remove objects from system.
Definition at line 478 of file class.ilRepUtilGUI.php.
References Vendor\Package\$e, $lng, ilRepUtil\removeObjectsFromSystem(), and ilUtil\sendFailure().
ilRepUtilGUI::restoreObjects | ( | $a_cur_ref_id, | |
$a_ref_ids | |||
) |
Restore objects from trash.
int | current ref id |
int[] | array of ref ids to be restored |
Definition at line 412 of file class.ilRepUtilGUI.php.
References Vendor\Package\$e, $lng, $target_id, ilRepUtil\restoreObjects(), and ilUtil\sendFailure().
ilRepUtilGUI::restoreToNewLocation | ( | \ilPropertyFormGUI | $form = null | ) |
\ilPropertyFormGUI | null | $form |
Definition at line 117 of file class.ilRepUtilGUI.php.
References $_POST, initFormTrashTargetLocation(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilRepUtilGUI::showDeleteConfirmation | ( | $a_ids, | |
$a_supress_message = false |
|||
) |
Show delete confirmation table.
Definition at line 213 of file class.ilRepUtilGUI.php.
References $ctrl, $ilCtrl, $ilSetting, $lng, $obj_definition, $settings, $tab, $tpl, $type, ilObject\_lookupObjId(), ilObject\_lookupType(), ilObject\collectDeletionDependencies(), ilObjectFactory\getClassByType(), handleMultiReferences(), ilObjectPlugin\lookupTxtById(), and ilUtil\sendFailure().
ilRepUtilGUI::showTrashTable | ( | $a_ref_id | ) |
Get trashed objects for a container.
interger | ref id of container |
Definition at line 387 of file class.ilRepUtilGUI.php.
References $lng, $tpl, $tree, and ilUtil\sendInfo().
|
protected |
Definition at line 45 of file class.ilRepUtilGUI.php.
Referenced by handleMultiReferences().
|
protected |
Definition at line 30 of file class.ilRepUtilGUI.php.
Referenced by confirmRemoveFromSystemObject(), and showDeleteConfirmation().
|
protected |
Definition at line 20 of file class.ilRepUtilGUI.php.
Referenced by confirmRemoveFromSystemObject(), deleteObjects(), handleMultiReferences(), removeObjectsFromSystem(), restoreObjects(), showDeleteConfirmation(), and showTrashTable().
|
private |
Definition at line 56 of file class.ilRepUtilGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 40 of file class.ilRepUtilGUI.php.
Referenced by confirmRemoveFromSystemObject(), and showDeleteConfirmation().
|
protected |
Definition at line 25 of file class.ilRepUtilGUI.php.
Referenced by deleteObjects(), and showDeleteConfirmation().
|
protected |
Definition at line 35 of file class.ilRepUtilGUI.php.
Referenced by confirmRemoveFromSystemObject(), handleMultiReferences(), showDeleteConfirmation(), and showTrashTable().
|
protected |
Definition at line 50 of file class.ilRepUtilGUI.php.
Referenced by buildPath(), handleMultiReferences(), and showTrashTable().