|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Repository Utilities (application layer, put GUI related stuff into ilRepUtilGUI) More...
Collaboration diagram for ilRepUtil:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| 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) | |
Protected Attributes | |
| $db | |
| $tree | |
| $settings | |
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.
| ilRepUtil::__construct | ( | ) |
Constructor.
Definition at line 34 of file class.ilRepUtil.php.
References $DIC, and settings().
Here is the call graph for this function:
|
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 50 of file class.ilRepUtil.php.
References $DIC, $id, $ilLog, $ilSetting, $key, $lng, $log, $tree, ilECSObjectSettings\_handleDelete(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilSession\clear(), ilObjectFactory\getInstanceByObjId(), ilUtil\removeItemFromDesktops(), and removeObjectsFromSystem().
Referenced by ilObjCloudGUI\afterServiceAuth(), ilObjStudyProgrammeTreeGUI\confirmedDelete(), ilRepUtilGUI\deleteObjects(), and deleteObjectType().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRepUtil::deleteObjectType | ( | $a_type | ) |
Definition at line 519 of file class.ilRepUtil.php.
References $a_type, $db, $ilDB, $ilSetting, $row, $settings, $tree, deleteObjects(), ilObjRepositorySettings\deleteObjectType(), findTypeInTrash(), getObjectTypeId(), and removeObjectsFromSystem().
Here is the call graph for this function:
|
protected |
Definition at line 488 of file class.ilRepUtil.php.
References $a_type, $db, $ilDB, $res, and $row.
Referenced by deleteObjectType().
Here is the caller graph for this function:
|
protected |
Definition at line 507 of file class.ilRepUtil.php.
References $a_type, $db, $ilDB, and $row.
Referenced by deleteObjectType().
Here is the caller graph for this function:
|
staticprivate |
Recursive method to insert all saved nodes of the clipboard.
Definition at line 441 of file class.ilRepUtil.php.
References $DIC, $factory, $GLOBALS, $tree, ilLoggerFactory\getLogger(), IL_LAST_NODE, and insertSavedNodes().
Referenced by insertSavedNodes(), and restoreObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Remove already deleted objects within the objects in trash.
Definition at line 304 of file class.ilRepUtil.php.
References $DIC, $ilDB, $ilLog, $log, $r, $row, $tree, ilObjectFactory\getInstanceByRefId(), and removeDeletedNodes().
Referenced by removeDeletedNodes(), and removeObjectsFromSystem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method
@access public
Definition at line 202 of file class.ilRepUtil.php.
References $DIC, $id, $ilLog, $ilUser, $log, $tree, ilChangeEvent\_recordWriteEvent(), ilObjectFactory\getInstanceByRefId(), and removeDeletedNodes().
Referenced by ilObjOrgUnitGUI\confirmedDeleteObject(), deleteObjects(), deleteObjectType(), and ilRepUtilGUI\removeObjectsFromSystem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Move objects from trash back to repository.
Definition at line 367 of file class.ilRepUtil.php.
References $DIC, $id, $ilUser, $lng, $tree, ilChangeEvent\_catchupWriteEvents(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilChangeEvent\_recordWriteEvent(), ilObjectFactory\getInstanceByRefId(), and insertSavedNodes().
Referenced by ilRepUtilGUI\restoreObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 18 of file class.ilRepUtil.php.
Referenced by deleteObjectType(), findTypeInTrash(), and getObjectTypeId().
|
protected |
Definition at line 28 of file class.ilRepUtil.php.
Referenced by deleteObjectType().
|
protected |
Definition at line 23 of file class.ilRepUtil.php.
Referenced by deleteObjects(), deleteObjectType(), insertSavedNodes(), removeDeletedNodes(), removeObjectsFromSystem(), and restoreObjects().