Elgg
Version 1.11
|
Public Member Functions | |
trigger ($hook, $type, $params=null, $returnvalue=null) | |
Triggers a plugin hook. More... | |
Public Member Functions inherited from Elgg\HooksRegistrationService | |
setLogger (\Elgg\Logger $logger=null) | |
Set a logger instance, e.g. More... | |
registerHandler ($name, $type, $callback, $priority=500) | |
Registers a handler. More... | |
unregisterHandler ($name, $type, $callback) | |
Unregister a handler. More... | |
getAllHandlers () | |
Returns all registered handlers as array( $name => array( $type => array( $priority => callback, ... More... | |
hasHandler ($name, $type) | |
Does the hook have a handler? More... | |
getOrderedHandlers ($name, $type) | |
Returns an ordered array of handlers registered for $name and $type. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Elgg\HooksRegistrationService | |
$logger | |
Definition at line 16 of file PluginHooksService.php.
Elgg\PluginHooksService::trigger | ( | $hook, | |
$type, | |||
$params = null , |
|||
$returnvalue = null |
|||
) |
Triggers a plugin hook.
Definition at line 24 of file PluginHooksService.php.