ILIAS
trunk Revision v11.0_alpha-1689-g66c127b4ae8
◀ 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
CollectionWrapperGUI.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Repository\IRSS
;
22
23
use
ILIAS\ResourceStorage\Stakeholder\ResourceStakeholder
;
24
use
ILIAS\components\ResourceStorage\Collections\View\Configuration
;
25
use
ILIAS\components\ResourceStorage\Collections\View\Mode
;
26
27
class
CollectionWrapperGUI
28
{
29
protected \ILIAS\ResourceStorage\Services
$irss
;
30
31
public
function
__construct
()
32
{
33
global
$DIC
;
34
$this->irss = $DIC->resourceStorage();
35
}
36
37
public
function
getResourceCollectionGUI
(
38
ResourceStakeholder
$stakeholder,
39
string
$rcid,
40
string
$caption,
41
bool
$write =
false
42
): \
ilResourceCollectionGUI
{
43
if
($rcid ===
""
) {
44
throw
new \LogicException(
"No resource collection ID given."
);
45
}
46
$collection = $this->irss->collection()->get($this->irss->collection()->id($rcid));
47
return
new \ilResourceCollectionGUI(
48
new
Configuration
(
49
$collection,
50
$stakeholder,
51
$caption,
52
Mode::DATA_TABLE
,
53
100,
54
$write,
55
$write
56
)
57
);
58
}
59
}
ILIAS\components\ResourceStorage\Collections\View\Mode
Mode
Definition:
Mode.php:26
ILIAS\Repository\IRSS\CollectionWrapperGUI\getResourceCollectionGUI
getResourceCollectionGUI(ResourceStakeholder $stakeholder, string $rcid, string $caption, bool $write=false)
Definition:
CollectionWrapperGUI.php:37
ILIAS\Repository\IRSS\CollectionWrapperGUI\$irss
ILIAS ResourceStorage Services $irss
Definition:
CollectionWrapperGUI.php:29
ilResourceCollectionGUI
Definition:
class.ilResourceCollectionGUI.php:46
ILIAS\components\ResourceStorage\Container\View\DATA_TABLE
Definition:
Mode.php:28
ILIAS\components\ResourceStorage\Collections\View\Configuration
Definition:
Configuration.php:29
ILIAS\Repository\IRSS
Definition:
class.DataService.php:21
ILIAS\Repository\IRSS\CollectionWrapperGUI
Definition:
CollectionWrapperGUI.php:27
$DIC
global $DIC
Definition:
shib_login.php:22
Configuration
ILIAS\ResourceStorage\Stakeholder\ResourceStakeholder
Interface ResourceStakeholder.
Definition:
ResourceStakeholder.php:29
ResourceStakeholder
ILIAS\Repository\IRSS\CollectionWrapperGUI\__construct
__construct()
Definition:
CollectionWrapperGUI.php:31
components
ILIAS
Repository
Service
IRSS
CollectionWrapperGUI.php
Generated on Wed Apr 2 2025 23:03:27 for ILIAS by
1.8.13 (using
Doxyfile
)