ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ 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
PRGProgressId.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
PRGProgressId
22
{
23
public
const
DELIMITER
=
'_'
;
24
25
protected
int
$ass_id
;
26
protected
int
$usr_id
;
27
protected
int
$node_obj_id
;
28
29
public
function
__construct
(
int
$ass_id,
int
$usr_id,
int
$node_obj_id)
30
{
31
$this->ass_id =
$ass_id
;
32
$this->usr_id =
$usr_id
;
33
$this->node_obj_id =
$node_obj_id
;
34
}
35
36
public
static
function
createFromString
(
string
$id
): self
37
{
38
$id =
array_map
(
'intval'
, explode(self::DELIMITER, $id));
39
return
new
self
(...$id);
40
}
41
42
public
function
getAssignmentId
():
int
43
{
44
return
$this->ass_id
;
45
}
46
47
public
function
getUsrId
():
int
48
{
49
return
$this->usr_id
;
50
}
51
52
public
function
getNodeId
():
int
53
{
54
return
$this->node_obj_id
;
55
}
56
57
public
function
__toString
(): string
58
{
59
return
implode(self::DELIMITER, [$this->ass_id, $this->usr_id, $this->node_obj_id]);
60
}
61
}
PRGProgressId\__toString
__toString()
Definition:
PRGProgressId.php:57
array_map
PRGProgressId\getAssignmentId
getAssignmentId()
Definition:
PRGProgressId.php:42
PRGProgressId\getUsrId
getUsrId()
Definition:
PRGProgressId.php:47
PRGProgressId
Definition:
PRGProgressId.php:21
PRGProgressId\createFromString
static createFromString(string $id)
Definition:
PRGProgressId.php:36
PRGProgressId\getNodeId
getNodeId()
Definition:
PRGProgressId.php:52
PRGProgressId\__construct
__construct(int $ass_id, int $usr_id, int $node_obj_id)
Definition:
PRGProgressId.php:29
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
PRGProgressId\$usr_id
int $usr_id
Definition:
PRGProgressId.php:26
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
PRGProgressId\$node_obj_id
int $node_obj_id
Definition:
PRGProgressId.php:27
PRGProgressId\$ass_id
int $ass_id
Definition:
PRGProgressId.php:25
PRGProgressId\DELIMITER
const DELIMITER
Definition:
PRGProgressId.php:23
components
ILIAS
StudyProgramme
classes
model
Assignments
PRGProgressId.php
Generated on Fri Apr 4 2025 23:04:01 for ILIAS by
1.8.13 (using
Doxyfile
)