ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Repository GUI Utilities. More...
Public Member Functions | |
__construct ($a_parent_gui, $a_parent_cmd="") | |
Constructor. 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 | |
buildPath ($ref_ids) | |
Build path with deep-link. More... | |
Protected Attributes | |
$lng | |
$settings | |
$ctrl | |
$tpl | |
$obj_definition | |
$access | |
$tree | |
ilRepUtilGUI::__construct | ( | $a_parent_gui, | |
$a_parent_cmd = "" |
|||
) |
Constructor.
object | parent gui object |
string | current parent command (like in table2gui) |
Definition at line 56 of file class.ilRepUtilGUI.php.
References $DIC, and settings().
|
protected |
Build path with deep-link.
array | $ref_ids |
Definition at line 351 of file class.ilRepUtilGUI.php.
References $data, $path, $result, $tree, ilLink\_getLink(), and array.
Referenced by handleMultiReferences().
ilRepUtilGUI::confirmRemoveFromSystemObject | ( | $a_ids | ) |
Confirmation for trash.
array | $a_ids | ref_ids |
Definition at line 388 of file class.ilRepUtilGUI.php.
References $ctrl, $id, $ilCtrl, $lng, $obj_definition, $title, $tpl, $type, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), array, ilObjectFactory\getClassByType(), and ilObjectPlugin\lookupTxtById().
ilRepUtilGUI::deleteObjects | ( | $a_cur_ref_id, | |
$a_ref_ids | |||
) |
Delete objects.
Definition at line 297 of file class.ilRepUtilGUI.php.
References $ilSetting, $lng, $settings, ilRepUtil\deleteObjects(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
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 151 of file class.ilRepUtilGUI.php.
References $access, $counter, $lng, $tpl, $tree, ilObject\_getAllReferences(), array, and buildPath().
Referenced by showDeleteConfirmation().
ilRepUtilGUI::removeObjectsFromSystem | ( | $a_ref_ids, | |
$a_from_recovery_folder = false |
|||
) |
Remove objects from system.
Definition at line 324 of file class.ilRepUtilGUI.php.
References $lng, ilRepUtil\removeObjectsFromSystem(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilRepUtilGUI::restoreObjects | ( | $a_cur_ref_id, | |
$a_ref_ids | |||
) |
Restore objects from trash.
integer | current ref id |
array | array of ref ids to be restored |
Definition at line 274 of file class.ilRepUtilGUI.php.
References $lng, ilRepUtil\restoreObjects(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilRepUtilGUI::showDeleteConfirmation | ( | $a_ids, | |
$a_supress_message = false |
|||
) |
Show delete confirmation table.
Definition at line 75 of file class.ilRepUtilGUI.php.
References $ctrl, $ilCtrl, $ilSetting, $lng, $obj_definition, $settings, $tab, $title, $tpl, $type, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), array, 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 249 of file class.ilRepUtilGUI.php.
References $lng, $tpl, $tree, and ilUtil\sendInfo().
|
protected |
Definition at line 42 of file class.ilRepUtilGUI.php.
Referenced by handleMultiReferences().
|
protected |
Definition at line 27 of file class.ilRepUtilGUI.php.
Referenced by confirmRemoveFromSystemObject(), and showDeleteConfirmation().
|
protected |
Definition at line 17 of file class.ilRepUtilGUI.php.
Referenced by confirmRemoveFromSystemObject(), deleteObjects(), handleMultiReferences(), removeObjectsFromSystem(), restoreObjects(), showDeleteConfirmation(), and showTrashTable().
|
protected |
Definition at line 37 of file class.ilRepUtilGUI.php.
Referenced by confirmRemoveFromSystemObject(), and showDeleteConfirmation().
|
protected |
Definition at line 22 of file class.ilRepUtilGUI.php.
Referenced by deleteObjects(), and showDeleteConfirmation().
|
protected |
Definition at line 32 of file class.ilRepUtilGUI.php.
Referenced by confirmRemoveFromSystemObject(), handleMultiReferences(), showDeleteConfirmation(), and showTrashTable().
|
protected |
Definition at line 47 of file class.ilRepUtilGUI.php.
Referenced by buildPath(), handleMultiReferences(), and showTrashTable().