PluginEventBehavior

Extends\CModelBehavior

package

Default

Methods

Log parent event for dynamic (currently Token and Response) and related id

_dispatchDynamic(string $when,string $what): \LimeSurvey\PluginManager\PluginEvent

Arguments

$when

string

$what

string

Response

\LimeSurvey\PluginManager\PluginEvent

the dispatched event

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,array $eventParams = array()): \LimeSurvey\PluginManager\PluginEvent

See \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

$eventParams

array

array of params for event

Response

\LimeSurvey\PluginManager\PluginEvent

the dispatched event

events

events()