EventDriven Class Reference

Inheritance diagram for EventDriven:
ClaroNotification

Public Member Functions

 addListener ($eventType, $methodName)
 removeListener ($eventType, $id)

Detailed Description

generic event driven application public

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


Member Function Documentation

addListener ( eventType,
methodName 
)

add an event listener to the event driven application public

Parameters:
string methodName callback method, must be a method of the current event-driven instance
string eventType event type
Returns:
string eventlistener ID

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

removeListener ( eventType,
id 
)

remove an event listener from the application public

Parameters:
string eventType event type
string eventlistener ID
Returns:
boolean

Definition at line 379 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