ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilAppEventHandlerMock Class Reference

Mock for ilAppEventHandler. More...

+ Collaboration diagram for ilAppEventHandlerMock:

Public Member Functions

 __construct ()
 
 raise ($a_component, $a_event, $a_parameters)
 

Data Fields

 $events
 

Detailed Description

Mock for ilAppEventHandler.

Definition at line 79 of file mocks.php.

Constructor & Destructor Documentation

◆ __construct()

ilAppEventHandlerMock::__construct ( )

Definition at line 83 of file mocks.php.

84  {
85  $this->events = array();
86  }

Member Function Documentation

◆ raise()

ilAppEventHandlerMock::raise (   $a_component,
  $a_event,
  $a_parameters 
)

Definition at line 88 of file mocks.php.

89  {
90  $this->events[] = array( "component" => $a_component
91  , "event" => $a_event
92  , "parameters" => $a_parameters
93  );
94  }

Field Documentation

◆ $events

ilAppEventHandlerMock::$events

Definition at line 81 of file mocks.php.


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