void publishEvent(
integer
$event, mixed
$data
)
|
|
Publish an event
Parameters:
integer |
$event: |
see Parser.inc PARSER_EVENT_* constants |
mixed |
$data: |
anything the subscribed event handler is expecting |
void subscribe(
integer
$event, class
&$object
)
|
|
Adds a subscriber to the $subscriber array().
if $event is '*', the publisher will use $object as the default event handler
Parameters:
Information Tags:
Todo: | CS Cleanup - there's no way I can get the &$object desc under 85 chars |