ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilECSParticipant Class Reference
+ Collaboration diagram for ilECSParticipant:

Public Member Functions

 __construct (object $json_obj, int $a_cid)
 
 getCommunityId ()
 get community id More...
 
 getMID ()
 get mid More...
 
 getEmail ()
 get email More...
 
 getDNS ()
 get dns More...
 
 getDescription ()
 get description More...
 
 getParticipantName ()
 get participant name More...
 
 getPid ()
 Get pid. More...
 
 isSelf ()
 is self More...
 
 getOrganisation ()
 Get organisation. More...
 

Private Member Functions

 read (object $json_obj)
 Read. More...
 

Private Attributes

int $cid
 
int $pid
 
int $mid
 
string $email
 
string $dns
 
string $description
 
string $participantname
 
bool $is_self
 
ilECSOrganisation $org
 

Detailed Description

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

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

Constructor & Destructor Documentation

◆ __construct()

ilECSParticipant::__construct ( object  $json_obj,
int  $a_cid 
)

Definition at line 36 of file class.ilECSParticipant.php.

References read().

37  {
38  $this->cid = $a_cid;
39  $this->read($json_obj);
40  }
read(object $json_obj)
Read.
+ Here is the call graph for this function:

Member Function Documentation

◆ getCommunityId()

ilECSParticipant::getCommunityId ( )

get community id

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

References $cid.

45  : int
46  {
47  return $this->cid;
48  }

◆ getDescription()

ilECSParticipant::getDescription ( )

get description

Definition at line 78 of file class.ilECSParticipant.php.

References $description.

78  : string
79  {
80  return $this->description;
81  }

◆ getDNS()

ilECSParticipant::getDNS ( )

get dns

Definition at line 70 of file class.ilECSParticipant.php.

References $dns.

70  : string
71  {
72  return $this->dns;
73  }

◆ getEmail()

ilECSParticipant::getEmail ( )

get email

Definition at line 61 of file class.ilECSParticipant.php.

References $email.

61  : string
62  {
63  return $this->email;
64  }

◆ getMID()

ilECSParticipant::getMID ( )

get mid

Definition at line 53 of file class.ilECSParticipant.php.

References $mid.

53  : int
54  {
55  return $this->mid;
56  }

◆ getOrganisation()

ilECSParticipant::getOrganisation ( )

Get organisation.

Returns
ilECSOrganisation $org

Definition at line 111 of file class.ilECSParticipant.php.

References $org.

112  {
113  return $this->org;
114  }
ilECSOrganisation $org

◆ getParticipantName()

ilECSParticipant::getParticipantName ( )

get participant name

Definition at line 86 of file class.ilECSParticipant.php.

References $participantname.

86  : string
87  {
89  }

◆ getPid()

ilECSParticipant::getPid ( )

Get pid.

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

References $pid.

94  : int
95  {
96  return $this->pid;
97  }

◆ isSelf()

ilECSParticipant::isSelf ( )

is self

Definition at line 102 of file class.ilECSParticipant.php.

References $is_self.

102  : bool
103  {
104  return $this->is_self;
105  }

◆ read()

ilECSParticipant::read ( object  $json_obj)
private

Read.

Definition at line 119 of file class.ilECSParticipant.php.

Referenced by __construct().

119  : void
120  {
121  $this->pid = $json_obj->pid;
122  $this->mid = $json_obj->mid;
123  $this->email = $json_obj->email;
124  $this->dns = $json_obj->dns;
125  $this->description = $json_obj->description;
126 
127  $this->participantname = $json_obj->name;
128  $this->is_self = $json_obj->itsyou;
129 
130  $this->org = new ilECSOrganisation();
131  if (is_object($json_obj->org)) {
132  $this->org->loadFromJson($json_obj->org);
133  }
134  }
+ Here is the caller graph for this function:

Field Documentation

◆ $cid

int ilECSParticipant::$cid
private

Definition at line 25 of file class.ilECSParticipant.php.

Referenced by getCommunityId().

◆ $description

string ilECSParticipant::$description
private

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

Referenced by getDescription().

◆ $dns

string ilECSParticipant::$dns
private

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

Referenced by getDNS().

◆ $email

string ilECSParticipant::$email
private

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

Referenced by getEmail().

◆ $is_self

bool ilECSParticipant::$is_self
private

Definition at line 32 of file class.ilECSParticipant.php.

Referenced by isSelf().

◆ $mid

int ilECSParticipant::$mid
private

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

Referenced by getMID().

◆ $org

ilECSOrganisation ilECSParticipant::$org
private

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

Referenced by getOrganisation().

◆ $participantname

string ilECSParticipant::$participantname
private

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

Referenced by getParticipantName().

◆ $pid

int ilECSParticipant::$pid
private

Definition at line 26 of file class.ilECSParticipant.php.

Referenced by getPid().


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