This method will cause invocation of event handlers that are attached to the named event
for the specified class and all its parent classes.
public static trigger ( string | object $class, string $name, |
||
$class | string | object | the object or the fully qualified class name specifying the class-level event. |
$name | string | the event name. |
$event | the event parameter. If not set, a default [[Event]] object will be created. |