ILIAS
Release_5_0_x_branch Revision 61816
|
Repository GUI Utilities. More...
Public Member Functions | |
__construct ($a_parent_gui, $a_parent_cmd="") | |
Constructor. | |
showDeleteConfirmation ($a_ids, $a_supress_message=false) | |
Show delete confirmation table. | |
handleMultiReferences ($a_obj_id, $a_ref_id, $a_form_name) | |
Build subitem list for multiple references. | |
showTrashTable ($a_ref_id) | |
Get trashed objects for a container. | |
restoreObjects ($a_cur_ref_id, $a_ref_ids) | |
Restore objects from trash. | |
deleteObjects ($a_cur_ref_id, $a_ref_ids) | |
Delete objects. | |
removeObjectsFromSystem ($a_ref_ids, $a_from_recovery_folder=false) | |
Remove objects from system. | |
confirmRemoveFromSystemObject ($a_ids) | |
Confirmation for trash. |
Protected Member Functions | |
buildPath ($ref_ids) | |
Build path with deep-link. |
ilRepUtilGUI::__construct | ( | $a_parent_gui, | |
$a_parent_cmd = "" |
|||
) |
Constructor.
object | parent gui object |
string | current parent command (like in table2gui) |
Definition at line 20 of file class.ilRepUtilGUI.php.
|
protected |
Build path with deep-link.
array | $ref_ids |
Definition at line 333 of file class.ilRepUtilGUI.php.
References $path, $ref_id, $result, and ilLink\_getLink().
Referenced by handleMultiReferences().
ilRepUtilGUI::confirmRemoveFromSystemObject | ( | $a_ids | ) |
Confirmation for trash.
array | $a_ids | ref_ids |
Definition at line 378 of file class.ilRepUtilGUI.php.
References $ilCtrl, $lng, $tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getClassByType(), and ilPlugin\lookupTxt().
ilRepUtilGUI::deleteObjects | ( | $a_cur_ref_id, | |
$a_ref_ids | |||
) |
Delete objects.
Definition at line 265 of file class.ilRepUtilGUI.php.
References $ilSetting, $lng, 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 103 of file class.ilRepUtilGUI.php.
References $lng, $tpl, ilObject\_getAllReferences(), and buildPath().
Referenced by showDeleteConfirmation().
ilRepUtilGUI::removeObjectsFromSystem | ( | $a_ref_ids, | |
$a_from_recovery_folder = false |
|||
) |
Remove objects from system.
Definition at line 300 of file class.ilRepUtilGUI.php.
References $lng, 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 236 of file class.ilRepUtilGUI.php.
References $lng, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilRepUtilGUI::showDeleteConfirmation | ( | $a_ids, | |
$a_supress_message = false |
|||
) |
Show delete confirmation table.
Definition at line 30 of file class.ilRepUtilGUI.php.
References $ilCtrl, $ilSetting, $lng, $ref_id, $tab, $tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObject\collectDeletionDependencies(), ilObjectFactory\getClassByType(), handleMultiReferences(), ilPlugin\lookupTxt(), and ilUtil\sendFailure().
ilRepUtilGUI::showTrashTable | ( | $a_ref_id | ) |
Get trashed objects for a container.
interger | ref id of container |
Definition at line 212 of file class.ilRepUtilGUI.php.
References $lng, $tpl, and ilUtil\sendInfo().