hasHandlers() public static method
Returns a value indicating whether there is any handler attached to the specified class-level event.
Note that this method will also check all parent classes to see if there is any handler attached to the named event.
| public static boolean hasHandlers ( $class, $name ) | ||
|---|---|---|
| $class | string|object |
The object or the fully qualified class name specifying the class-level event. |
| $name | string |
The event name. |
| return | boolean |
Whether there is any handler attached to the event. |
Please login to continue.