package | Default |
---|
__construct()
The constructor must be part of the interface since our Plugin factory calls it and thus must know its arguments.
get(object $plugin, $key = null,string $model = null,integer $id = null,mixed $default = null,string $language = null): mixed
object
The plugin object getting its data.
string
Name of a model in case its model specific plugin data, like for a specific question or survey.
integer
Id of the model for which the data is retreived
mixed
The default value to use when none present
string
The optional language to use
mixed
The data stored.
set(object $plugin,string $key,mixed $data,string $model = null,integer $id = null,string $language = null)
object
The plugin object getting its data.
string
The storage key to identify the data.
mixed
The data to be stored, serialized using serialize.
string
Name of a model in case its model specific plugin data, like for a specific question or survey.
integer
Id of the model for which the data is retreived
string
The optional language to use