ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (protected TreeInterface $tree, protected PermissionInterface $permission, protected EventInterface $event, protected ObjectInterface $object, protected bool $trash_enabled) | |
deleteObjectsByRefIds (array $ids) | |
Delete: If trash is enabled, objects are moved to the trash. More... | |
removeObjectsFromSystemByRefIds (array $ref_ids, bool $direct_from_tree=false) | |
Remove objects from system directly ($direct_from_tree === true) or from trash ($direct_from_tree === false) More... | |
Protected Member Functions | |
removeDeletedNodes (int $a_node_id, array $a_checked, bool $a_delete_objects, array &$a_affected_ids) | |
Remove already deleted objects within the objects in trash. More... | |
moveToTrash (array $ids) | |
Definition at line 23 of file Deletion.php.
ILIAS\Repository\Deletion\Deletion::__construct | ( | protected TreeInterface | $tree, |
protected PermissionInterface | $permission, | ||
protected EventInterface | $event, | ||
protected ObjectInterface | $object, | ||
protected bool | $trash_enabled | ||
) |
Definition at line 25 of file Deletion.php.
ILIAS\Repository\Deletion\Deletion::deleteObjectsByRefIds | ( | array | $ids | ) |
Delete: If trash is enabled, objects are moved to the trash.
If trash is disabled, objects are removed from system directly.
Definition at line 40 of file Deletion.php.
References ILIAS\Repository\Deletion\Deletion\moveToTrash(), and ILIAS\Repository\Deletion\Deletion\removeObjectsFromSystemByRefIds().
|
protected |
Definition at line 233 of file Deletion.php.
References $id.
Referenced by ILIAS\Repository\Deletion\Deletion\deleteObjectsByRefIds().
|
protected |
Remove already deleted objects within the objects in trash.
Definition at line 170 of file Deletion.php.
References Vendor\Package\$e, and ILIAS\Repository\Deletion\Deletion\removeDeletedNodes().
Referenced by ILIAS\Repository\Deletion\Deletion\removeDeletedNodes().
ILIAS\Repository\Deletion\Deletion::removeObjectsFromSystemByRefIds | ( | array | $ref_ids, |
bool | $direct_from_tree = false |
||
) |
Remove objects from system directly ($direct_from_tree === true) or from trash ($direct_from_tree === false)
Definition at line 63 of file Deletion.php.
Referenced by ILIAS\Repository\Deletion\Deletion\deleteObjectsByRefIds().