base\Component trigger()

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.

doc_Yii
2016-10-30 16:51:07
Comments
Leave a Comment

Please login to continue.