ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Repository Utilities (application layer, put GUI related stuff into ilRepUtilGUI) More...
Public Member Functions | |
deleteObjectType ($a_type) | |
Static Public Member Functions | |
static | deleteObjects ($a_cur_ref_id, $a_ids) |
Delete objects. More... | |
static | 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 More... | |
static | restoreObjects ($a_cur_ref_id, $a_ref_ids) |
Move objects from trash back to repository. More... | |
Protected Member Functions | |
findTypeInTrash ($a_type) | |
getObjectTypeId ($a_type) | |
Static Private Member Functions | |
static | removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects, &$a_affected_ids) |
Remove already deleted objects within the objects in trash. More... | |
static | insertSavedNodes ($a_source_id, $a_dest_id, $a_tree_id, &$a_affected_ids) |
Recursive method to insert all saved nodes of the clipboard. More... | |
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, $ilUser, $lng, $log, $ref_id, ilECSObjectSettings\_handleDelete(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), array, ilSession\clear(), ilObjectFactory\getInstanceByObjId(), ilUtil\removeItemFromDesktops(), and removeObjectsFromSystem().
Referenced by ilObjCloudGUI\afterServiceAuth(), ilObjStudyProgrammeTreeGUI\confirmedDelete(), ilRepUtilGUI\deleteObjects(), and deleteObjectType().
ilRepUtil::deleteObjectType | ( | $a_type | ) |
Definition at line 488 of file class.ilRepUtil.php.
References $a_type, $ilDB, $ilSetting, $row, array, deleteObjects(), ilObjRepositorySettings\deleteObjectType(), findTypeInTrash(), and getObjectTypeId().
|
protected |
Definition at line 456 of file class.ilRepUtil.php.
References $a_type, $ilDB, $res, $row, and array.
Referenced by deleteObjectType().
|
protected |
Definition at line 476 of file class.ilRepUtil.php.
References $a_type, $ilDB, and $row.
Referenced by deleteObjectType().
|
staticprivate |
Recursive method to insert all saved nodes of the clipboard.
Definition at line 406 of file class.ilRepUtil.php.
References $GLOBALS, $log, ilLoggerFactory\getLogger(), and IL_LAST_NODE.
Referenced by restoreObjects().
|
staticprivate |
Remove already deleted objects within the objects in trash.
Definition at line 279 of file class.ilRepUtil.php.
References $ilDB, $log, $r, $row, array, and ilObjectFactory\getInstanceByRefId().
Referenced by removeObjectsFromSystem().
|
static |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method
public
Definition at line 178 of file class.ilRepUtil.php.
References $ilUser, $log, ilChangeEvent\_recordWriteEvent(), array, ilObjectFactory\getInstanceByRefId(), and removeDeletedNodes().
Referenced by deleteObjects(), and ilRepUtilGUI\removeObjectsFromSystem().
|
static |
Move objects from trash back to repository.
Definition at line 338 of file class.ilRepUtil.php.
References $ilUser, $lng, $log, ilChangeEvent\_catchupWriteEvents(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilChangeEvent\_recordWriteEvent(), array, ilObjectFactory\getInstanceByRefId(), and insertSavedNodes().
Referenced by ilRepUtilGUI\restoreObjects().