trigger() public method
Triggers an event.
This method represents the happening of an event. It invokes all attached handlers for the event including class-level handlers.
| public void trigger ( $name, yii\base\Event $event = null ) | ||
|---|---|---|
| $name | string |
The event name |
| $event | yii\base\Event |
The event parameter. If not set, a default yii\base\Event object will be created. |
Please login to continue.