base\InlineAction $actionMethod

$actionMethod public property The controller method that this inline action is associated with public string $actionMethod = null

base\ExitException __construct()

__construct() public method Constructor. public void __construct ( $status = 0, $message = null, $code = 0, Exception $previous = null )$status integer The exit status code $message string Error message $code integer Error code $previous Exception The previous exception used for the exception chaining.

base\Event on()

on() public static method Attaches an event handler to a class-level event. When a class-level event is triggered, event handlers attached to that class and all parent classes will be invoked. For example, the following code attaches an event handler to ActiveRecord's afterInsert event: Event::on(ActiveRecord::className(), ActiveRecord::EVENT_AFTER_INSERT, function ($event) { Yii::trace(get_class($event->sender) . ' is inserted.'); }); The handler will be invoked for EVERY successfu

base\Event offAll()

offAll() public static method (available since version 2.0.10) Detaches all registered class-level event handlers. See also: on() off() public static void offAll ( )

base\Exception getName()

getName() public method public string getName ( )return string The user-friendly name of this exception

base\Event trigger()

trigger() public static method Triggers a class-level event. 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 void trigger ( $class, $name, $event = null )$class string|object The object or the fully qualified class name specifying the class-level event. $name string The event name. $event yii\base\Event The event parameter. If not set, a default yii\base\Event object will be c

base\Event hasHandlers()

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

base\Event $name

$name public property The event name. This property is set by yii\base\Component::trigger() and trigger(). Event handlers may use this property to check what event it is handling. public string $name = null

base\Event $handled

$handled public property Whether the event is handled. Defaults to false. When a handler sets this to be true, the event processing will stop and ignore the rest of the uninvoked event handlers. public boolean $handled = false

base\Event $sender

$sender public property The sender of this event. If not set, this property will be set as the object whose trigger() method is called. This property may also be a null when this event is a class-level event which is triggered in a static context. public object $sender = null