ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilECSEnrolmentStatus Class Reference
+ Collaboration diagram for ilECSEnrolmentStatus:

Public Member Functions

 __construct ()
 
 setUrl ($a_url)
 
 getUrl ()
 
 setId ($a_id)
 
 getId ()
 
 setPersonId ($a_person)
 
 getPersonId ()
 
 setPersonIdType ($a_type)
 
 getPersonIdType ()
 
 setStatus ($a_status)
 
 getStatus ()
 
 loadFromJson ($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'
 
 $url = ''
 
 $id = ''
 
 $personID = ''
 
 $personIDtype = ''
 
 $status = ''
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilECSEnrolmentStatus::__construct ( )

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

35  {
36 
37  }

Member Function Documentation

◆ getId()

ilECSEnrolmentStatus::getId ( )

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

References $id.

Referenced by ilECSEnrolmentStatusCommandQueueHandler\doUpdate().

55  {
56  return $this->id;
57  }
+ Here is the caller graph for this function:

◆ getPersonId()

ilECSEnrolmentStatus::getPersonId ( )

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

References $personID.

◆ getPersonIdType()

ilECSEnrolmentStatus::getPersonIdType ( )

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

References $personIDtype.

◆ getStatus()

ilECSEnrolmentStatus::getStatus ( )

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

References $status.

Referenced by ilECSEnrolmentStatusCommandQueueHandler\doUpdate().

+ Here is the caller graph for this function:

◆ getUrl()

ilECSEnrolmentStatus::getUrl ( )

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

References $url.

◆ loadFromJson()

ilECSEnrolmentStatus::loadFromJson (   $json)

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

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

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  }
+ Here is the call graph for this function:

◆ setId()

ilECSEnrolmentStatus::setId (   $a_id)

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

Referenced by loadFromJson().

50  {
51  $this->id = $a_id;
52  }
+ Here is the caller graph for this function:

◆ setPersonId()

ilECSEnrolmentStatus::setPersonId (   $a_person)

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

Referenced by loadFromJson().

60  {
61  $this->personID = $a_person;
62  }
+ Here is the caller graph for this function:

◆ setPersonIdType()

ilECSEnrolmentStatus::setPersonIdType (   $a_type)

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

References $a_type.

Referenced by loadFromJson().

70  {
71  $this->personIDtype = $a_type;
72  }
$a_type
Definition: workflow.php:93
+ Here is the caller graph for this function:

◆ setStatus()

ilECSEnrolmentStatus::setStatus (   $a_status)

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

Referenced by loadFromJson().

80  {
81  $this->status = $a_status;
82  }
+ Here is the caller graph for this function:

◆ setUrl()

ilECSEnrolmentStatus::setUrl (   $a_url)

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

Referenced by loadFromJson().

40  {
41  $this->url = $a_url;
42  }
+ Here is the caller graph for this function:

Field Documentation

◆ $id

ilECSEnrolmentStatus::$id = ''

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

Referenced by getId().

◆ $personID

ilECSEnrolmentStatus::$personID = ''

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

Referenced by getPersonId().

◆ $personIDtype

ilECSEnrolmentStatus::$personIDtype = ''

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

Referenced by getPersonIdType().

◆ $status

ilECSEnrolmentStatus::$status = ''

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

Referenced by getStatus().

◆ $url

ilECSEnrolmentStatus::$url = ''

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

Referenced by getUrl().

◆ ID_CUSTOM

const ilECSEnrolmentStatus::ID_CUSTOM = 'ecs_custom'

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

◆ ID_EMAIL

const ilECSEnrolmentStatus::ID_EMAIL = 'ecs_email'

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

◆ ID_EPPN

const ilECSEnrolmentStatus::ID_EPPN = 'ecs_ePPN'

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

◆ ID_LOGIN

const ilECSEnrolmentStatus::ID_LOGIN = 'ecs_login'

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

◆ ID_LOGIN_UID

const ilECSEnrolmentStatus::ID_LOGIN_UID = 'ecs_loginUID'

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

◆ ID_PERSONAL_UNIQUE_CODE

const ilECSEnrolmentStatus::ID_PERSONAL_UNIQUE_CODE = 'ecs_PersonalUniqueCode'

Definition at line 22 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: