ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilEventRaisingActivity Class Reference

PhpIncludeInspection More...

+ Inheritance diagram for ilEventRaisingActivity:
+ Collaboration diagram for ilEventRaisingActivity:

Public Member Functions

 addFixedParam ($key, $value)
 
 getEventName ()
 
 setEventName ($event_name)
 
 getEventType ()
 
 setEventType ($event_type)
 
 __construct (ilNode $a_context)
 Default constructor. More...
 
 getParamsArray ()
 
 getContext ()
 Returns a reference to the parent node. More...
 
 setName ($name)
 
 getName ()
 
- Public Member Functions inherited from ilActivity
 execute ()
 

Protected Attributes

 $event_type
 
 $event_name
 
 $fixed_params
 
 $name
 

Private Attributes

 $context
 

Detailed Description

PhpIncludeInspection

PhpIncludeInspection Class ilEventRaisingActivity

Author
Maximilian Becker mbeck.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

/

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

Constructor & Destructor Documentation

◆ __construct()

ilEventRaisingActivity::__construct ( ilNode  $a_context)

Default constructor.

Parameters
ilNode$a_context

Definition at line 80 of file class.ilEventRaisingActivity.php.

References $DIC, ilActivity\execute(), and getParamsArray().

81  {
82  $this->context = $a_context;
83  $this->event_type = 'Services/WorkflowEngine';
84  $this->event_name = 'nondescript';
85  }
+ Here is the call graph for this function:

Member Function Documentation

◆ addFixedParam()

ilEventRaisingActivity::addFixedParam (   $key,
  $value 
)
Parameters
string$key
mixed$value

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

References $key.

39  {
40  $this->fixed_params[] = array('key' => $key, 'value' => $value);
41  }
$key
Definition: croninfo.php:18

◆ getContext()

ilEventRaisingActivity::getContext ( )

Returns a reference to the parent node.

Returns
ilNode Reference to the parent node.

Implements ilWorkflowEngineElement.

Definition at line 125 of file class.ilEventRaisingActivity.php.

References $context.

◆ getEventName()

ilEventRaisingActivity::getEventName ( )
Returns
string

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

References $event_name.

◆ getEventType()

ilEventRaisingActivity::getEventType ( )
Returns
string

Definition at line 62 of file class.ilEventRaisingActivity.php.

References $event_type.

◆ getName()

ilEventRaisingActivity::getName ( )
Returns
string

Implements ilWorkflowEngineElement.

Definition at line 141 of file class.ilEventRaisingActivity.php.

References $name.

◆ getParamsArray()

ilEventRaisingActivity::getParamsArray ( )
Returns
array

Definition at line 110 of file class.ilEventRaisingActivity.php.

References PHPMailer\PHPMailer\$params.

Referenced by __construct().

111  {
112  // TODO: Get logic for getting values from incoming data associations.
113 
114  $params = array();
115  $params[] = array('key' => 'context', 'value' => $this);
116 
117  return array_merge((array) $this->fixed_params, $params);
118  }
+ Here is the caller graph for this function:

◆ setEventName()

ilEventRaisingActivity::setEventName (   $event_name)
Parameters
string$event_name

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

References $event_name.

55  {
56  $this->event_name = $event_name;
57  }

◆ setEventType()

ilEventRaisingActivity::setEventType (   $event_type)
Parameters
string$event_type

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

References $event_type.

71  {
72  $this->event_type = $event_type;
73  }

◆ setName()

ilEventRaisingActivity::setName (   $name)
Parameters
string$name

Implements ilWorkflowEngineElement.

Definition at line 133 of file class.ilEventRaisingActivity.php.

References $name.

134  {
135  $this->name = $name;
136  }

Field Documentation

◆ $context

ilEventRaisingActivity::$context
private

Definition at line 20 of file class.ilEventRaisingActivity.php.

Referenced by getContext().

◆ $event_name

ilEventRaisingActivity::$event_name
protected

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

Referenced by getEventName(), and setEventName().

◆ $event_type

ilEventRaisingActivity::$event_type
protected

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

Referenced by getEventType(), and setEventType().

◆ $fixed_params

ilEventRaisingActivity::$fixed_params
protected

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

◆ $name

ilEventRaisingActivity::$name
protected

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

Referenced by getName(), and setName().


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