Handler
in package
implements
Plugin
Interfaces, Classes, Traits and Enums
- Plugin
- Define a system plugin
Table of Contents
- OnGetEntityAttributes() : mixed
- Get entity attributes
- OnRegisterWidgetIncludes() : mixed
- RegisterHooks() : array<string|int, mixed>
- register system hooks Register a set of handler functions to be called in certain positions.
- SetupTemplate() : Result
- Setup getter and setter
Methods
OnGetEntityAttributes()
Get entity attributes
public
OnGetEntityAttributes(HookArgument $reference) : mixed
This hook is called from object handler Can be used to overrule the internal attribute set
Parameters
- $reference : HookArgument
-
A default hook object
Tags
Return values
mixed —OnRegisterWidgetIncludes()
public
OnRegisterWidgetIncludes(HookArgument $param) : mixed
Parameters
- $param : HookArgument
Return values
mixed —RegisterHooks()
register system hooks Register a set of handler functions to be called in certain positions.
public
RegisterHooks() : array<string|int, mixed>
Return values
array<string|int, mixed> —The list of registered hooks
SetupTemplate()
Setup getter and setter
public
SetupTemplate([array<string|int, mixed> $data = null ]) : Result
The setter is just an interface and not active
Parameters
- $data : array<string|int, mixed> = null
-
New configuration values
Return values
Result —The template fetch result