ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilECSEnrolmentStatus.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* Presentation of ecs enrolment status
5
* @author Stefan Meyer <smeyer.ilias@gmx.de>
6
* $Id$
7
*/
8
class
ilECSEnrolmentStatus
9
{
10
const
STATUS_ACTIVE
=
'active'
;
11
const
STATUS_PENDING
=
'pending'
;
12
const
STATUS_DENIED
=
'denied'
;
13
const
STATUS_REJECTED
=
'rejected'
;
14
const
STATUS_UNSUBSCRIBED
=
'unsubscribed'
;
15
const
STATUS_ACCOUNT_DEACTIVATED
=
'account_deactivated'
;
16
17
const
ID_EPPN
=
'ecs_ePPN'
;
18
const
ID_LOGIN_UID
=
'ecs_loginUID'
;
19
const
ID_LOGIN
=
'ecs_login'
;
20
const
ID_UID
=
'ecs_uid'
;
21
const
ID_EMAIL
=
'ecs_email'
;
22
const
ID_PERSONAL_UNIQUE_CODE
=
'ecs_PersonalUniqueCode'
;
23
const
ID_CUSTOM
=
'ecs_custom'
;
24
25
26
// json fields
27
public
$url
=
''
;
28
public
$id
=
''
;
29
public
$personID
=
''
;
30
public
$personIDtype
=
''
;
31
public
$status
=
''
;
32
33
34
public
function
__construct
()
35
{
36
37
}
38
39
public
function
setUrl
($a_url)
40
{
41
$this->url = $a_url;
42
}
43
44
public
function
getUrl
()
45
{
46
return
$this->url
;
47
}
48
49
public
function
setId
($a_id)
50
{
51
$this->
id
= $a_id;
52
}
53
54
public
function
getId
()
55
{
56
return
$this->id
;
57
}
58
59
public
function
setPersonId
($a_person)
60
{
61
$this->personID = $a_person;
62
}
63
64
public
function
getPersonId
()
65
{
66
return
$this->personID
;
67
}
68
69
public
function
setPersonIdType
($a_type)
70
{
71
$this->personIDtype = $a_type;
72
}
73
74
public
function
getPersonIdType
()
75
{
76
return
$this->personIDtype
;
77
}
78
79
public
function
setStatus
($a_status)
80
{
81
$this->status = $a_status;
82
}
83
84
public
function
getStatus
()
85
{
86
return
$this->status
;
87
}
88
89
public
function
loadFromJson
($json)
90
{
91
$this->
setId
($json->id);
92
$this->
setPersonId
($json->personID);
93
$this->
setPersonIdType
($json->personIDtype);
94
$this->
setUrl
($json->url);
95
$this->
setStatus
($json->status);
96
}
97
}
98
?>
Services
WebServices
ECS
classes
Connectors
class.ilECSEnrolmentStatus.php
Generated on Wed Apr 27 2016 21:02:15 for ILIAS by
1.8.1.2 (using
Doxyfile
)