| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Repository Utilities (application layer, put GUI related stuff into ilRepUtilGUI) More...
 Collaboration diagram for ilRepUtil:
 Collaboration diagram for ilRepUtil:| Public Member Functions | |
| removeObjectsFromSystem ($a_ref_ids, $a_from_recovery_folder=false) | |
| remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
| restoreObjects ($a_cur_ref_id, $a_ref_ids) | |
| Move objects from trash back to repository. | |
| Static Public Member Functions | |
| static | deleteObjects ($a_cur_ref_id, $a_ids) | 
| Delete objects. | |
| Private Member Functions | |
| removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects, &$a_affected_ids) | |
| Remove already deleted objects within the objects in trash. | |
| insertSavedNodes ($a_source_id, $a_dest_id, $a_tree_id, &$a_affected_ids) | |
| Recursive method to insert all saved nodes of the clipboard. | |
Repository Utilities (application layer, put GUI related stuff into ilRepUtilGUI)
Definition at line 13 of file class.ilRepUtil.php.
| 
 | static | 
Delete objects.
Move them to trash (if trash feature is enabled).
| integer | current ref id | 
| array | array of ref(!) ids to be deleted | 
Definition at line 22 of file class.ilRepUtil.php.
References $ilSetting, $lng, $log, ilECSContentWriter\_handleDelete(), ilPaymentObject\_isBuyable(), ilObject\_lookupObjId(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilUtil\removeItemFromDesktops(), and removeObjectsFromSystem().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Recursive method to insert all saved nodes of the clipboard.
Definition at line 414 of file class.ilRepUtil.php.
References $log, ilObjectFactory\getInstanceByRefId(), and IL_LAST_NODE.
Referenced by restoreObjects().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Remove already deleted objects within the objects in trash.
Definition at line 291 of file class.ilRepUtil.php.
References $ilDB, $log, $row, and ilObjectFactory\getInstanceByRefId().
Referenced by removeObjectsFromSystem().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRepUtil::removeObjectsFromSystem | ( | $a_ref_ids, | |
| $a_from_recovery_folder = false | |||
| ) | 
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method
public
Definition at line 191 of file class.ilRepUtil.php.
References $log, ilChangeEvent\_isActive(), ilChangeEvent\_recordWriteEvent(), ilObjectFactory\getInstanceByRefId(), and removeDeletedNodes().
Referenced by deleteObjects().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilRepUtil::restoreObjects | ( | $a_cur_ref_id, | |
| $a_ref_ids | |||
| ) | 
Move objects from trash back to repository.
Definition at line 347 of file class.ilRepUtil.php.
References $lng, $log, ilChangeEvent\_catchupWriteEvents(), ilChangeEvent\_isActive(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilChangeEvent\_recordWriteEvent(), ilObjectFactory\getInstanceByRefId(), and insertSavedNodes().
 Here is the call graph for this function:
 Here is the call graph for this function: