| 
    Elgg
    Version 1.12
    
   | 
 
  
Public Member Functions | |
| 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... | |
Protected Member Functions | |
| getMatcher ($spec) | |
| Create a matcher for the given callable (if it's for a static or dynamic method)  More... | |
Protected Attributes | |
| $logger | |
Definition at line 15 of file HooksRegistrationService.php.
| Elgg\HooksRegistrationService::getAllHandlers | ( | ) | 
Returns all registered handlers as array( $name => array( $type => array( $priority => callback, ...
) )
@access private
Definition at line 113 of file HooksRegistrationService.php.
      
  | 
  protected | 
Create a matcher for the given callable (if it's for a static or dynamic method)
| callable | $spec | Callable we're creating a matcher for | 
Definition at line 170 of file HooksRegistrationService.php.
| Elgg\HooksRegistrationService::getOrderedHandlers | ( | $name, | |
| $type | |||
| ) | 
Returns an ordered array of handlers registered for $name and $type.
| string | $name | The name of the hook | 
| string | $type | The type of the hook | 
@access private
Definition at line 138 of file HooksRegistrationService.php.
| Elgg\HooksRegistrationService::hasHandler | ( | $name, | |
| $type | |||
| ) | 
Does the hook have a handler?
| string | $name | The name of the hook | 
| string | $type | The type of the hook | 
Definition at line 124 of file HooksRegistrationService.php.
| Elgg\HooksRegistrationService::registerHandler | ( | $name, | |
| $type, | |||
| $callback, | |||
$priority = 500  | 
        |||
| ) | 
Registers a handler.
@access private
Definition at line 43 of file HooksRegistrationService.php.
| Elgg\HooksRegistrationService::setLogger | ( | \Elgg\Logger | $logger = null | ) | 
Set a logger instance, e.g.
for reporting uncallable handlers
| \Elgg\Logger | $logger | The logger | 
Definition at line 30 of file HooksRegistrationService.php.
| Elgg\HooksRegistrationService::unregisterHandler | ( | $name, | |
| $type, | |||
| $callback | |||
| ) | 
Unregister a handler.
| string | $name | |
| string | $type | |
| callable | $callback | 
Definition at line 79 of file HooksRegistrationService.php.
      
  | 
  protected | 
Definition at line 22 of file HooksRegistrationService.php.