ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilECSEvent.php
Go to the documentation of this file.
1
<?php
2
18
declare(strict_types=1);
19
23
class
ilECSEvent
24
{
25
public
const
CREATED
=
'created'
;
26
public
const
UPDATED
=
'updated'
;
27
public
const
DESTROYED
=
'destroyed'
;
28
public
const
NEW_EXPORT
=
'new_export'
;
29
30
protected
object
$json_obj
;
31
public
string
$status
=
''
;
32
public
string
$ressource
=
''
;
33
public
int
$ressource_id
= 0;
34
public
?
string
$ressource_type
=
''
;
35
39
public
function
__construct
($json_obj)
40
{
41
$this->json_obj =
$json_obj
;
42
$this->
read
();
43
}
44
48
public
function
getStatus
(): string
49
{
50
return
$this->status
;
51
}
52
56
public
function
getRessource
(): string
57
{
58
return
$this->ressource
;
59
}
60
64
public
function
getRessourceId
():
int
65
{
66
return
$this->ressource_id
;
67
}
68
69
73
public
function
getRessourceType
(): ?string
74
{
75
return
$this->ressource_type
;
76
}
77
78
82
private
function
read
(): void
83
{
84
$this->status = $this->json_obj->status;
85
$this->ressource = $this->json_obj->ressource;
86
87
$res_arr = (array) explode(
'/'
, $this->
getRessource
());
88
89
$this->ressource_id = (
int
) array_pop($res_arr);
90
$this->ressource_type = array_pop($res_arr);
91
}
92
}
ilECSEvent\getStatus
getStatus()
get title
Definition:
class.ilECSEvent.php:48
ilECSEvent\$json_obj
object $json_obj
Definition:
class.ilECSEvent.php:30
ilECSEvent\getRessourceType
getRessourceType()
Get ressource type.
Definition:
class.ilECSEvent.php:73
ilECSEvent\read
read()
Read community entries and participants.
Definition:
class.ilECSEvent.php:82
ilECSEvent
Definition:
class.ilECSEvent.php:23
ilECSEvent\$ressource
string $ressource
Definition:
class.ilECSEvent.php:32
ilECSEvent\CREATED
const CREATED
Definition:
class.ilECSEvent.php:25
ilECSEvent\UPDATED
const UPDATED
Definition:
class.ilECSEvent.php:26
ilECSEvent\getRessourceId
getRessourceId()
Get ressource id.
Definition:
class.ilECSEvent.php:64
ilECSEvent\__construct
__construct($json_obj)
Definition:
class.ilECSEvent.php:39
ilECSEvent\$ressource_id
int $ressource_id
Definition:
class.ilECSEvent.php:33
ilECSEvent\$status
string $status
Definition:
class.ilECSEvent.php:31
ilECSEvent\NEW_EXPORT
const NEW_EXPORT
Definition:
class.ilECSEvent.php:28
ilECSEvent\getRessource
getRessource()
getDescription
Definition:
class.ilECSEvent.php:56
ilECSEvent\$ressource_type
string $ressource_type
Definition:
class.ilECSEvent.php:34
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilECSEvent\DESTROYED
const DESTROYED
Definition:
class.ilECSEvent.php:27
Services
WebServices
ECS
classes
class.ilECSEvent.php
Generated on Sun Apr 6 2025 22:02:53 for ILIAS by
1.8.13 (using
Doxyfile
)