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

Public Member Functions

 __construct ($json_obj)
 Constructor.
 getStatus ()
 get title
 getRessource ()
 getDescription
 getRessourceId ()
 Get ressource id.
 getRessourceType ()
 Get ressource type.

Data Fields

const CREATED = 'created'
const UPDATED = 'updated'
const DESTROYED = 'destroyed'
const NEW_EXPORT = 'new_export'
 $status = ''
 $ressource = ''
 $ressource_id = 0
 $ressource_type = ''

Protected Attributes

 $json_obj = null

Private Member Functions

 read ()
 Read community entries and participants.

Detailed Description

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

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

Constructor & Destructor Documentation

ilECSEvent::__construct (   $json_obj)

Constructor.

public

Parameters
objectjson object

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

References $json_obj, and read().

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

+ Here is the call graph for this function:

Member Function Documentation

ilECSEvent::getRessource ( )

getDescription

public

Definition at line 75 of file class.ilECSEvent.php.

References $ressource.

Referenced by read().

{
}

+ Here is the caller graph for this function:

ilECSEvent::getRessourceId ( )

Get ressource id.

Definition at line 83 of file class.ilECSEvent.php.

References $ressource_id.

Referenced by ilECSEventQueueReader\writeEventToDB().

{
}

+ Here is the caller graph for this function:

ilECSEvent::getRessourceType ( )

Get ressource type.

Returns
string

Definition at line 93 of file class.ilECSEvent.php.

References $ressource_type.

Referenced by ilECSEventQueueReader\writeEventToDB().

{
}

+ Here is the caller graph for this function:

ilECSEvent::getStatus ( )

get title

public

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

References $status.

Referenced by ilECSEventQueueReader\writeEventToDB().

{
return $this->status;
}

+ Here is the caller graph for this function:

ilECSEvent::read ( )
private

Read community entries and participants.

private

Definition at line 105 of file class.ilECSEvent.php.

References getRessource().

Referenced by __construct().

{
$this->status = $this->json_obj->status;
$this->ressource = $this->json_obj->ressource;
$res_arr = (array) explode('/',$this->getRessource());
$this->ressource_id = array_pop($res_arr);
$this->ressource_type = array_pop($res_arr);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

ilECSEvent::$json_obj = null
protected

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

Referenced by __construct().

ilECSEvent::$ressource = ''

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

Referenced by getRessource().

ilECSEvent::$ressource_id = 0

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

Referenced by getRessourceId().

ilECSEvent::$ressource_type = ''

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

Referenced by getRessourceType().

ilECSEvent::$status = ''

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

Referenced by getStatus().

const ilECSEvent::CREATED = 'created'
const ilECSEvent::DESTROYED = 'destroyed'
const ilECSEvent::NEW_EXPORT = 'new_export'

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

Referenced by ilECSTaskScheduler\handleEvents().


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