package | Default |
---|
__construct(string $event,object $sender = null): \PluginEvent
string
Name of the event fired
object
The object sending the event
\PluginEvent
append(string $key,array $value): \PluginEvent
$value has to be an array in this case, since it is assumed that old value was an array. The new and old array value will be merged.
string
array
\PluginEvent
Fluent interface
get(string $key = null,mixed $default = null): mixed
When the value is not set, it will return the given default or null when no default was given.
string
mixed
mixed
getAllContent(): array<mixed,\LimeSurvey\PluginManager\PluginEventContent>
getContent(\LimeSurvey\PluginManager\PluginBase|string $plugin): \LimeSurvey\PluginManager\PluginEventContent
When there is no content yet, it will return an empty content object.
\LimeSurvey\PluginManager\PluginEventContent
getEventName(): string
string
getSender(): object
Normally the class that fired the event, but can return false when not set.
object
The object sending the event, or false when unknown
isStopped(): boolean
boolean
set(string $key,mixed $value): \PluginEvent
setContent(string|\LimeSurvey\PluginManager\PluginBase $plugin,string $content = null,string $cssClass = null,string $id = null): \LimeSurvey\PluginManager\PluginEventContent
string
string
string
\LimeSurvey\PluginManager\PluginEventContent
stop()
_event :string
var |
---|
string
_content :array
var | of PluginEventContent |
---|
array
_sender :object
var |
---|
object
_stop :boolean
var |
---|
boolean
_parameters :array
var |
---|
array