ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
RepositoryTreeAccessProxy.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27{
28 private function tree(): \ilTree
29 {
30 global $DIC;
31 return $DIC->repositoryTree();
32 }
33 public function isInTree(?int $ref_id): bool
34 {
35 return $this->tree()->isInTree($ref_id);
36 }
37
38 public function isDeleted(int $ref_id): bool
39 {
40 return $this->tree()->isDeleted($ref_id);
41 }
42
43 public function getPathId(int $a_endnode_id, int $a_startnode_id = 0): array
44 {
45 return $this->tree()->getPathId($a_endnode_id, $a_startnode_id);
46 }
47
48 public function getSubTreeIds(int $a_ref_id): array
49 {
50 return $this->tree()->getSubTreeIds($a_ref_id);
51 }
52
53}
getPathId(int $a_endnode_id, int $a_startnode_id=0)
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
global $DIC
Definition: shib_login.php:26