ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilCtrlPathFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
26
class
ilCtrlPathFactory
implements
ilCtrlPathFactoryInterface
27
{
31
private
ilCtrlStructureInterface
$structure
;
32
38
public
function
__construct
(
ilCtrlStructureInterface
$structure)
39
{
40
$this->structure =
$structure
;
41
}
42
46
public
function
find
(
ilCtrlContextInterface
$context
, $target):
ilCtrlPathInterface
47
{
48
if
(is_array($target)) {
49
return
new
ilCtrlArrayClassPath
($this->structure, $context, $target);
50
}
51
52
if
(is_string($target)) {
53
return
new
ilCtrlSingleClassPath
($this->structure, $context, $target);
54
}
55
56
return
$this->
null
();
57
}
58
62
public
function
existing
(
string
$cid_path):
ilCtrlPathInterface
63
{
64
return
new
ilCtrlExistingPath
($this->structure, $cid_path);
65
}
66
70
public
function
null
():
ilCtrlPathInterface
71
{
72
return
new
ilCtrlNullPath
();
73
}
74
}
ilCtrlPathFactory\null
null()
Definition:
class.ilCtrlPathFactory.php:70
$context
$context
Definition:
webdav.php:31
ilCtrlPathFactory
Class ilCtrlPathFactory.
Definition:
class.ilCtrlPathFactory.php:26
ilCtrlPathFactory\existing
existing(string $cid_path)
Definition:
class.ilCtrlPathFactory.php:62
ilCtrlPathFactory\$structure
ilCtrlStructureInterface $structure
Definition:
class.ilCtrlPathFactory.php:31
ilCtrlArrayClassPath
Class ilCtrlArrayClassPath.
Definition:
class.ilCtrlArrayClassPath.php:26
ilCtrlStructureInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilCtrlStructureInterface.php:24
ilCtrlPathFactory\find
find(ilCtrlContextInterface $context, $target)
Definition:
class.ilCtrlPathFactory.php:46
ilCtrlSingleClassPath
Class ilCtrlSingleClassPath.
Definition:
class.ilCtrlSingleClassPath.php:26
ilCtrlContextInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilCtrlContextInterface.php:26
ilCtrlPathFactoryInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilCtrlPathFactoryInterface.php:25
ilCtrlExistingPath
Class ilCtrlExistingPath.
Definition:
class.ilCtrlExistingPath.php:26
ilCtrlNullPath
Class ilCtrlNullPath.
Definition:
class.ilCtrlNullPath.php:26
ilCtrlPathFactory\__construct
__construct(ilCtrlStructureInterface $structure)
ilCtrlPathFactory Constructor
Definition:
class.ilCtrlPathFactory.php:38
ilCtrlPathInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilCtrlPathInterface.php:27
components
ILIAS
UICore
classes
Path
class.ilCtrlPathFactory.php
Generated on Sun Apr 6 2025 23:04:40 for ILIAS by
1.8.13 (using
Doxyfile
)