ILIAS  release_8 Revision v8.24
ilECSEnrolmentStatus Class Reference

Presentation of ecs enrolment status. More...

+ Collaboration diagram for ilECSEnrolmentStatus:

Public Member Functions

 __construct ()
 
 setUrl (string $a_url)
 
 getUrl ()
 
 setId (string $a_id)
 
 getId ()
 
 setPersonId (string $a_person)
 
 getPersonId ()
 
 setPersonIdType (string $a_type)
 
 getPersonIdType ()
 
 setStatus (string $a_status)
 
 getStatus ()
 
 loadFromJson (object $json)
 

Data Fields

const STATUS_ACTIVE = 'active'
 
const STATUS_PENDING = 'pending'
 
const STATUS_DENIED = 'denied'
 
const STATUS_REJECTED = 'rejected'
 
const STATUS_UNSUBSCRIBED = 'unsubscribed'
 
const STATUS_ACCOUNT_DEACTIVATED = 'account_deactivated'
 
const ID_EPPN = 'ecs_ePPN'
 
const ID_LOGIN_UID = 'ecs_loginUID'
 
const ID_LOGIN = 'ecs_login'
 
const ID_UID = 'ecs_uid'
 
const ID_EMAIL = 'ecs_email'
 
const ID_PERSONAL_UNIQUE_CODE = 'ecs_PersonalUniqueCode'
 
const ID_CUSTOM = 'ecs_custom'
 
string $url = ''
 
string $id = ''
 
string $personID = ''
 
string $personIDtype = ''
 
string $status = ''
 

Detailed Description

Presentation of ecs enrolment status.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 24 of file class.ilECSEnrolmentStatus.php.

Constructor & Destructor Documentation

◆ __construct()

ilECSEnrolmentStatus::__construct ( )

Definition at line 50 of file class.ilECSEnrolmentStatus.php.

51 {
52 }

Member Function Documentation

◆ getId()

ilECSEnrolmentStatus::getId ( )

Definition at line 69 of file class.ilECSEnrolmentStatus.php.

69 : string
70 {
71 return $this->id;
72 }

References $id.

Referenced by ilECSEnrolmentStatusCommandQueueHandler\doUpdate().

+ Here is the caller graph for this function:

◆ getPersonId()

ilECSEnrolmentStatus::getPersonId ( )

Definition at line 79 of file class.ilECSEnrolmentStatus.php.

79 : string
80 {
81 return $this->personID;
82 }

References $personID.

◆ getPersonIdType()

ilECSEnrolmentStatus::getPersonIdType ( )

Definition at line 89 of file class.ilECSEnrolmentStatus.php.

89 : string
90 {
92 }

References $personIDtype.

◆ getStatus()

ilECSEnrolmentStatus::getStatus ( )

Definition at line 99 of file class.ilECSEnrolmentStatus.php.

99 : string
100 {
101 return $this->status;
102 }

References $status.

Referenced by ilECSEnrolmentStatusCommandQueueHandler\doUpdate().

+ Here is the caller graph for this function:

◆ getUrl()

ilECSEnrolmentStatus::getUrl ( )

Definition at line 59 of file class.ilECSEnrolmentStatus.php.

59 : string
60 {
61 return $this->url;
62 }

References $url.

◆ loadFromJson()

ilECSEnrolmentStatus::loadFromJson ( object  $json)

Definition at line 104 of file class.ilECSEnrolmentStatus.php.

104 : void
105 {
106 $this->setId($json->id);
107 $this->setPersonId($json->personID);
108 $this->setPersonIdType($json->personIDtype);
109 $this->setUrl($json->url);
110 $this->setStatus($json->status);
111 }

References setId(), setPersonId(), setPersonIdType(), setStatus(), and setUrl().

+ Here is the call graph for this function:

◆ setId()

ilECSEnrolmentStatus::setId ( string  $a_id)

Definition at line 64 of file class.ilECSEnrolmentStatus.php.

64 : void
65 {
66 $this->id = $a_id;
67 }

Referenced by loadFromJson().

+ Here is the caller graph for this function:

◆ setPersonId()

ilECSEnrolmentStatus::setPersonId ( string  $a_person)

Definition at line 74 of file class.ilECSEnrolmentStatus.php.

74 : void
75 {
76 $this->personID = $a_person;
77 }

Referenced by loadFromJson().

+ Here is the caller graph for this function:

◆ setPersonIdType()

ilECSEnrolmentStatus::setPersonIdType ( string  $a_type)

Definition at line 84 of file class.ilECSEnrolmentStatus.php.

84 : void
85 {
86 $this->personIDtype = $a_type;
87 }

Referenced by loadFromJson().

+ Here is the caller graph for this function:

◆ setStatus()

ilECSEnrolmentStatus::setStatus ( string  $a_status)

Definition at line 94 of file class.ilECSEnrolmentStatus.php.

94 : void
95 {
96 $this->status = $a_status;
97 }

Referenced by loadFromJson().

+ Here is the caller graph for this function:

◆ setUrl()

ilECSEnrolmentStatus::setUrl ( string  $a_url)

Definition at line 54 of file class.ilECSEnrolmentStatus.php.

54 : void
55 {
56 $this->url = $a_url;
57 }

Referenced by loadFromJson().

+ Here is the caller graph for this function:

Field Documentation

◆ $id

string ilECSEnrolmentStatus::$id = ''

Definition at line 44 of file class.ilECSEnrolmentStatus.php.

Referenced by getId().

◆ $personID

string ilECSEnrolmentStatus::$personID = ''

Definition at line 45 of file class.ilECSEnrolmentStatus.php.

Referenced by getPersonId().

◆ $personIDtype

string ilECSEnrolmentStatus::$personIDtype = ''

Definition at line 46 of file class.ilECSEnrolmentStatus.php.

Referenced by getPersonIdType().

◆ $status

string ilECSEnrolmentStatus::$status = ''

Definition at line 47 of file class.ilECSEnrolmentStatus.php.

Referenced by getStatus().

◆ $url

string ilECSEnrolmentStatus::$url = ''

Definition at line 43 of file class.ilECSEnrolmentStatus.php.

Referenced by getUrl().

◆ ID_CUSTOM

const ilECSEnrolmentStatus::ID_CUSTOM = 'ecs_custom'

Definition at line 39 of file class.ilECSEnrolmentStatus.php.

◆ ID_EMAIL

const ilECSEnrolmentStatus::ID_EMAIL = 'ecs_email'

Definition at line 37 of file class.ilECSEnrolmentStatus.php.

◆ ID_EPPN

const ilECSEnrolmentStatus::ID_EPPN = 'ecs_ePPN'

Definition at line 33 of file class.ilECSEnrolmentStatus.php.

◆ ID_LOGIN

const ilECSEnrolmentStatus::ID_LOGIN = 'ecs_login'

Definition at line 35 of file class.ilECSEnrolmentStatus.php.

◆ ID_LOGIN_UID

const ilECSEnrolmentStatus::ID_LOGIN_UID = 'ecs_loginUID'

Definition at line 34 of file class.ilECSEnrolmentStatus.php.

◆ ID_PERSONAL_UNIQUE_CODE

const ilECSEnrolmentStatus::ID_PERSONAL_UNIQUE_CODE = 'ecs_PersonalUniqueCode'

Definition at line 38 of file class.ilECSEnrolmentStatus.php.

◆ ID_UID

const ilECSEnrolmentStatus::ID_UID = 'ecs_uid'

◆ STATUS_ACCOUNT_DEACTIVATED

const ilECSEnrolmentStatus::STATUS_ACCOUNT_DEACTIVATED = 'account_deactivated'

◆ STATUS_ACTIVE

const ilECSEnrolmentStatus::STATUS_ACTIVE = 'active'

◆ STATUS_DENIED

const ilECSEnrolmentStatus::STATUS_DENIED = 'denied'

◆ STATUS_PENDING

const ilECSEnrolmentStatus::STATUS_PENDING = 'pending'

◆ STATUS_REJECTED

const ilECSEnrolmentStatus::STATUS_REJECTED = 'rejected'

◆ STATUS_UNSUBSCRIBED

const ilECSEnrolmentStatus::STATUS_UNSUBSCRIBED = 'unsubscribed'

The documentation for this class was generated from the following file: