|
|
pxdb_event_listener
pxdb_event_listener
|
private class pxdb_event_listener
|
|
|
Public Method Summary |
array |
getTriggers() Returns an array of all the triggers for an array
|
|
|
Private Field Summary |
array |
$_triggers private array holds the events that trigger a listener to act
|
|
Public Method Details |
getTriggers |
public array getTriggers()
|
|
|
Returns |
array |
|
|
Private Method Details |
addTrigger |
private void addTrigger( $event_name)
|
|
Conditions is an array where the key is a condition that the event dispatcher can test for and the value is the values match it. For now, one recognized condition is named 'datatype' and conditions can hold all the datatype ids that would call execute()
|
Parameter |
|
|
$event_name |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
init |
private abstract void init()
|
|
Init method should set all the triggers a listener looks for.
|
Returns |
void |
|
execute |
private abstract void execute(string $trigger, array $parameters)
|
|
Execute method for a listener is called when the event_dispatcher's notify method is called.
|
Parameter |
|
|
|
|
Returns |
void |
|
|
Private Field Details |
$_triggers |
private array $_triggers
>>array() <<
|
|
|
|
|
Generated on Fri, 28 Apr 2006 19:07:22 -0400 by PHPDoc v1.5 www.phpdoc.de
|