LimeSurvey API - Master branch

PluginEventBehavior extends CModelBehavior
in package

Table of Contents

Methods

afterDelete()  : mixed
afterSave()  : mixed
beforeDelete()  : mixed
beforeSave()  : mixed
dispatchPluginModelEvent()  : PluginEvent
method for dispatching plugin events
events()  : mixed
dispatchDynamic()  : PluginEvent
Log parent event for dynamic (currently Token and Response) and related id

Methods

beforeDelete()

public beforeDelete(CModelEvent $event) : mixed
Parameters
$event : CModelEvent

beforeSave()

public beforeSave(CModelEvent $event) : mixed
Parameters
$event : CModelEvent

dispatchPluginModelEvent()

method for dispatching plugin events

public dispatchPluginModelEvent(string $sEventName[, array<string|int, mixed> $criteria = null ][, array<string|int, mixed> $eventParams = array() ]) : PluginEvent

See for detailed explanation about $condition and $params.

Parameters
$sEventName : string

event name to dispatch

$criteria : array<string|int, mixed> = null

array containing attributes, conditions and params for the filter query

$eventParams : array<string|int, mixed> = array()

array of params for event

Return values
PluginEvent

the dispatched event

dispatchDynamic()

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

private dispatchDynamic(string $when, string $what) : PluginEvent
Parameters
$when : string
$what : string
Return values
PluginEvent

the dispatched event


        
On this page

Search results