ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilECSParticipant Class Reference
+ Collaboration diagram for ilECSParticipant:

Public Member Functions

 __construct ($json_obj, $a_cid)
 Constructor.
 getCommunityId ()
 get community id
 getMID ()
 get mid
 getEmail ()
 get email
 getDNS ()
 get dns
 getDescription ()
 get description
 getParticipantName ()
 get participant name
 getAbbreviation ()
 get abbreviation of participant
 isPublishable ()
 is publishable (enabled and mid with own cert id)
 isSelf ()
 is self
 isEnabled ()
 is Enabled
 getOrganisation ()
 Get organisation.

Protected Attributes

 $json_obj
 $cid
 $mid
 $email
 $certid
 $dns
 $description
 $participantname
 $is_self

Private Member Functions

 read ()
 Read.

Detailed Description

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

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

Constructor & Destructor Documentation

ilECSParticipant::__construct (   $json_obj,
  $a_cid 
)

Constructor.

public

Parameters

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

References $json_obj, and read().

{
$this->json_obj = $json_obj;
$this->cid = $a_cid;
$this->read();
}

+ Here is the call graph for this function:

Member Function Documentation

ilECSParticipant::getAbbreviation ( )

get abbreviation of participant

public

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

{
return $this->abr;
}
ilECSParticipant::getCommunityId ( )

get community id

public

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

References $cid.

{
return $this->cid;
}
ilECSParticipant::getDescription ( )

get description

public

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

References $description.

{
}
ilECSParticipant::getDNS ( )

get dns

public

Parameters

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

References $dns.

{
return $this->dns;
}
ilECSParticipant::getEmail ( )

get email

public

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

References $email.

{
return $this->email;
}
ilECSParticipant::getMID ( )

get mid

public

Parameters

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

References $mid.

{
return $this->mid;
}
ilECSParticipant::getOrganisation ( )

Get organisation.

Returns
ilECSOrganisation $org

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

{
return $this->org;
}
ilECSParticipant::getParticipantName ( )

get participant name

public

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

References $participantname.

ilECSParticipant::isEnabled ( )

is Enabled

public

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

References $GLOBALS.

{
$GLOBALS['ilLog']->write(__METHOD__.': Using deprecated call');
$GLOBALS['ilLog']->logStack();
return false;
}
ilECSParticipant::isPublishable ( )

is publishable (enabled and mid with own cert id)

public

Parameters

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

References isSelf().

{
return $this->isSelf();
}

+ Here is the call graph for this function:

ilECSParticipant::isSelf ( )

is self

public

Parameters

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

References $is_self.

Referenced by isPublishable().

{
return (bool) $this->is_self;
}

+ Here is the caller graph for this function:

ilECSParticipant::read ( )
private

Read.

private

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

References $ilLog.

Referenced by __construct().

{
global $ilLog;
$this->mid = $this->json_obj->mid;
$this->email = $this->json_obj->email;
#$this->certid = hexdec($this->json_obj->certid);
$this->dns = $this->json_obj->dns;
$this->description = $this->json_obj->description;
$this->participantname = $this->json_obj->name;
$this->is_self = $this->json_obj->itsyou;
include_once './Services/WebServices/ECS/classes/class.ilECSOrganisation.php';
$this->org = new ilECSOrganisation();
if(is_object($this->json_obj->org))
{
$this->org->loadFromJson($this->json_obj->org);
}
return true;
}

+ Here is the caller graph for this function:

Field Documentation

ilECSParticipant::$certid
protected

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

ilECSParticipant::$cid
protected

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

Referenced by getCommunityId().

ilECSParticipant::$description
protected

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

Referenced by getDescription().

ilECSParticipant::$dns
protected

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

Referenced by getDNS().

ilECSParticipant::$email
protected

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

Referenced by getEmail().

ilECSParticipant::$is_self
protected

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

Referenced by isSelf().

ilECSParticipant::$json_obj
protected

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

Referenced by __construct().

ilECSParticipant::$mid
protected

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

Referenced by getMID().

ilECSParticipant::$participantname
protected

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

Referenced by getParticipantName().


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