|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Repository GUI Utilities. More...
Collaboration diagram for ilRepUtilGUI: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... | |
| ilRepUtilGUI::__construct | ( | $a_parent_gui, | |
$a_parent_cmd = "" |
|||
| ) |
Constructor.
| object | parent gui object |
| string | current parent command (like in table2gui) |
Definition at line 21 of file class.ilRepUtilGUI.php.
|
protected |
Build path with deep-link.
| array | $ref_ids |
Definition at line 334 of file class.ilRepUtilGUI.php.
References $data, $path, $ref_id, $result, and ilLink\_getLink().
Referenced by handleMultiReferences().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepUtilGUI::confirmRemoveFromSystemObject | ( | $a_ids | ) |
Confirmation for trash.
| array | $a_ids | ref_ids |
Definition at line 379 of file class.ilRepUtilGUI.php.
References $ilCtrl, $lng, $title, $tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjectFactory\getClassByType(), and ilObjectPlugin\lookupTxtById().
Here is the call graph for this function:| ilRepUtilGUI::deleteObjects | ( | $a_cur_ref_id, | |
| $a_ref_ids | |||
| ) |
Delete objects.
Definition at line 266 of file class.ilRepUtilGUI.php.
References $ilSetting, $lng, ilRepUtil\deleteObjects(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| 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 104 of file class.ilRepUtilGUI.php.
References $counter, $lng, $tpl, ilObject\_getAllReferences(), buildPath(), and sprintf.
Referenced by showDeleteConfirmation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepUtilGUI::removeObjectsFromSystem | ( | $a_ref_ids, | |
$a_from_recovery_folder = false |
|||
| ) |
Remove objects from system.
Definition at line 301 of file class.ilRepUtilGUI.php.
References $lng, ilRepUtil\removeObjectsFromSystem(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| 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 237 of file class.ilRepUtilGUI.php.
References $lng, ilRepUtil\restoreObjects(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilRepUtilGUI::showDeleteConfirmation | ( | $a_ids, | |
$a_supress_message = false |
|||
| ) |
Show delete confirmation table.
Definition at line 31 of file class.ilRepUtilGUI.php.
References $ilCtrl, $ilSetting, $lng, $ref_id, $tab, $title, $tpl, ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObject\collectDeletionDependencies(), ilObjectFactory\getClassByType(), handleMultiReferences(), ilObjectPlugin\lookupTxtById(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilRepUtilGUI::showTrashTable | ( | $a_ref_id | ) |
Get trashed objects for a container.
| interger | ref id of container |
Definition at line 213 of file class.ilRepUtilGUI.php.
References $lng, $tpl, and ilUtil\sendInfo().
Here is the call graph for this function: