ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ 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
Handler.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Poll\Image\Repository\Stakeholder
;
22
23
use
ILIAS\Poll\Image\I\Repository\Stakeholder\HandlerInterface
as ilPollImageRepositoryStakeholderInterface;
24
use
ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder
;
25
26
class
Handler
extends
AbstractResourceStakeholder
implements ilPollImageRepositoryStakeholderInterface
27
{
28
protected
int
$owner_id
;
29
30
public
function
__construct
()
31
{
32
}
33
34
public
function
withUserId
(
35
int
$user_id
36
): ilPollImageRepositoryStakeholderInterface {
37
$clone = clone $this;
38
$clone->owner_id =
$user_id
;
39
return
$clone;
40
}
41
42
public
function
getUserId
():
int
43
{
44
return
$this->owner_id
;
45
}
46
47
public
function
getId
(): string
48
{
49
return
"poll_img"
;
50
}
51
52
public
function
getOwnerOfNewResources
():
int
53
{
54
return
$this->owner_id ?? 6;
55
}
56
}
Handler
ILIAS\Poll\Image\Repository\Stakeholder\Handler\getOwnerOfNewResources
getOwnerOfNewResources()
Definition:
Handler.php:52
$user_id
int $user_id
Definition:
trait.ilExAssignmentTypeGUIBase.php:38
ILIAS\Poll\Image\Repository\Stakeholder\Handler\getUserId
getUserId()
Definition:
Handler.php:42
ILIAS\Poll\Image\Repository\Stakeholder\Handler\withUserId
withUserId(int $user_id)
Definition:
Handler.php:34
ILIAS\Poll\Image\Repository\Stakeholder
Definition:
Factory.php:21
ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder
Definition:
AbstractResourceStakeholder.php:29
ILIAS\Poll\Image\Repository\Stakeholder\Handler\__construct
__construct()
Constructor must not have any parameters.
Definition:
Handler.php:30
ILIAS\Poll\Image\Repository\Stakeholder\Handler\getId
getId()
Definition:
Handler.php:47
ILIAS\Poll\Image\Repository\Stakeholder\Handler\$owner_id
int $owner_id
Definition:
Handler.php:28
ILIAS\Poll\Image\I\Repository\Stakeholder\HandlerInterface
Definition:
HandlerInterface.php:25
AbstractResourceStakeholder
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
Poll
classes
Image
Repository
Stakeholder
Handler.php
Generated on Tue Apr 8 2025 23:02:27 for ILIAS by
1.8.13 (using
Doxyfile
)