ILIAS
trunk Revision v13.0_alpha-52-g21c366bbdd4
◀ ilDoc Overview
RepositoryTreeAccessProxy.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\AccessControl\Tree
;
22
26
class
RepositoryTreeAccessProxy
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
}
ILIAS\AccessControl\Tree\RepositoryTreeAccessProxy
Definition:
RepositoryTreeAccessProxy.php:27
ILIAS\AccessControl\Tree\RepositoryTreeAccessProxy\getSubTreeIds
getSubTreeIds(int $a_ref_id)
Definition:
RepositoryTreeAccessProxy.php:48
ILIAS\AccessControl\Tree\RepositoryTreeAccessProxy\getPathId
getPathId(int $a_endnode_id, int $a_startnode_id=0)
Definition:
RepositoryTreeAccessProxy.php:43
ILIAS\AccessControl\Tree\RepositoryTreeAccessProxy\tree
tree()
Definition:
RepositoryTreeAccessProxy.php:28
ILIAS\AccessControl\Tree\RepositoryTreeAccessProxy\isDeleted
isDeleted(int $ref_id)
Definition:
RepositoryTreeAccessProxy.php:38
ILIAS\AccessControl\Tree\RepositoryTreeAccessProxy\isInTree
isInTree(?int $ref_id)
Definition:
RepositoryTreeAccessProxy.php:33
ilTree
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
Definition:
class.ilTree.php:39
ILIAS\AccessControl\Tree
Definition:
RepositoryTreeAccessProxy.php:21
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
AccessControl
src
Tree
RepositoryTreeAccessProxy.php
Generated on Tue Nov 10 2026 23:06:41 for ILIAS by
1.9.4 (using
Doxyfile
)