EventGenerator Class Reference

Inheritance diagram for EventGenerator:
ClaroNotifier

Public Member Functions

 sendEvent ($event)
 notifyEvent ($eventType, $args)

Detailed Description

Generic event generator for test purpose public

Definition at line 389 of file event.lib.php.


Member Function Documentation

notifyEvent ( eventType,
args 
)

public function to notify manager that an event occured, using this fucntion instead of sendEvent allow to let the class create the Event instance for you

Parameters:
string eventType the type of the event
array args an array containing any parameters needed to describe the event occurence

Definition at line 411 of file event.lib.php.

sendEvent ( event  ) 

notify the event manager for an event occurence public

Parameters:
Event event the event that occurs; an instance of the event class

Definition at line 396 of file event.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:38 2010 for Claroline API by  doxygen 1.6.3