19declare(strict_types=1);
35 return $this->tree->isDeleted($node_id);
39 $this->tree->useCache($use);
43 return $this->tree->getNodeData(
$id);
47 return $this->tree->isInTree(
$id);
51 return $this->tree->getSubTree($node);
56 return $this->tree->moveToTrash(
$ref_id,
true, $this->user_id);
65 foreach ($ids as
$id) {
66 if ($this->tree->isDeleted(
$id)) {
77 new \ilTree($tree_id),
85 $tree_id = end($trees);
93 new \ilTree($tree_id),
102 $this->tree->deleteTree($node_data);
111 $tree_repo = $this->repo->tree();
112 return $tree_repo->getTrashedSubtrees(
$ref_id);
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
getTrashTree(int $ref_id)
getDeletedTreeNodeIds(array $ids)
__construct(protected InternalRepoService $repo, protected \ilTree $tree, protected int $user_id)
deleteTree(array $node_data)
getTrashedSubtrees(int $ref_id)
Get (negative) tree ids of trashed children.
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
static lookupTreesForNode(int $node_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...