Elgg  Version 1.9
Public Member Functions | List of all members
Elgg_PluginHooksService Class Reference
Inheritance diagram for Elgg_PluginHooksService:
Elgg_HooksRegistrationService

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...
 

Additional Inherited Members

- Protected Member Functions inherited from Elgg_HooksRegistrationService
 getOrderedHandlers ($name, $type)
 Returns an ordered array of handlers registered for $name and $type. More...
 
 describeCallable ($callable)
 Get a string description of a callback. More...
 
- Protected Attributes inherited from Elgg_HooksRegistrationService
 $logger
 

Detailed Description

Definition at line 14 of file PluginHooksService.php.

Member Function Documentation

Elgg_PluginHooksService::trigger (   $hook,
  $type,
  $params = null,
  $returnvalue = null 
)

Triggers a plugin hook.

See also
elgg_trigger_plugin_hook private

Definition at line 22 of file PluginHooksService.php.


The documentation for this class was generated from the following file: