PluginEventBehavior

Extends \CModelBehavior

Methods

events

events() 

afterDelete

afterDelete(\CEvent $event) 

Arguments

$event

\CEvent

afterSave

afterSave(\CEvent $event) 

Arguments

$event

\CEvent

beforeDelete

beforeDelete(\CModelEvent $event) 

Arguments

$event

\CModelEvent

beforeSave

beforeSave(\CModelEvent $event) 

Arguments

$event

\CModelEvent

method for dispatching plugin events

dispatchPluginModelEvent(string $sEventName, array $criteria = null) : \ls\pluginmanager\PluginEvent

See {@link find()} for detailed explanation about $condition and $params.

Arguments

$sEventName

string

event name to dispatch

$criteria

array

array containing attributes, conditions and params for the filter query

Response

\ls\pluginmanager\PluginEvent

the dispatched event