ILIAS
Release_4_1_x_branch Revision 61804
|
Repository Utilities (application layer, put GUI related stuff into ilRepUtilGUI) More...
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().
|
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().
|
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().
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().
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().