Public Member Functions | |
__construct ($eventClass, array $defaultParameters=array()) | |
build ($subject, $name, array $parameters=array()) | |
buildAndDispatch (PEIP_Object_Event_Dispatcher $dispatcher, $subject, $name, array $parameters=array()) | |
Static Public Member Functions | |
static | getInstance ($eventClass=false) |
Protected Attributes | |
$eventClass | |
$defaultParameters | |
Static Protected Attributes | |
static | $instances = array() |
Definition at line 22 of file PEIP_Event_Builder.php.
PEIP_Event_Builder::__construct | ( | $ | eventClass, | |
array $ | defaultParameters = array() | |||
) |
public
$eventClass | ||
$defaultParameters |
Definition at line 36 of file PEIP_Event_Builder.php.
References $defaultParameters, and $eventClass.
static PEIP_Event_Builder::getInstance | ( | $ | eventClass = false |
) | [static] |
Definition at line 41 of file PEIP_Event_Builder.php.
References $eventClass.
Referenced by PEIP_Object_Event_Dispatcher::buildAndNotify().
PEIP_Event_Builder::build | ( | $ | subject, | |
$ | name, | |||
array $ | parameters = array() | |||
) |
public
$subject | ||
$name | ||
$parameters |
Definition at line 57 of file PEIP_Event_Builder.php.
Referenced by buildAndDispatch().
PEIP_Event_Builder::buildAndDispatch | ( | PEIP_Object_Event_Dispatcher $ | dispatcher, | |
$ | subject, | |||
$ | name, | |||
array $ | parameters = array() | |||
) |
public
$dispatcher | ||
$subject | ||
$name | ||
$parameters |
Definition at line 79 of file PEIP_Event_Builder.php.
References build(), and PEIP_Object_Event_Dispatcher::notify().
PEIP_Event_Builder::$eventClass [protected] |
Definition at line 24 of file PEIP_Event_Builder.php.
Referenced by __construct(), and getInstance().
PEIP_Event_Builder::$defaultParameters [protected] |
PEIP_Event_Builder::$instances = array() [static, protected] |
Definition at line 27 of file PEIP_Event_Builder.php.