Permalink
Browse files

docs(events): Clarify scope of HooksRegistrationService::hasHandler

Fixes #9325
  • Loading branch information...
mrclay committed Jan 29, 2016
1 parent fdde908 commit 498abdde342cdf29a32bcd2dfef1c6f3176fc314
Showing with 4 additions and 1 deletion.
  1. +4 −1 engine/classes/Elgg/HooksRegistrationService.php
@@ -154,7 +154,10 @@ public function getAllHandlers() {
}
/**
* Does the hook have a handler?
* Is a handler registered for this specific name and type? "all" handlers are not considered.
*
* If you need to consider "all" handlers, you must check them independently, or use
* (bool)elgg_get_ordered_hook_handlers().
*
* @param string $name The name of the hook
* @param string $type The type of the hook

0 comments on commit 498abdd

Please sign in to comment.