event
in
Uses
tools
Module-Event-Base-Class
Table of Contents
$data | Event data | mixed |
---|---|---|
__construct() | Konstruktor | mixed |
run() | Execute event | mixed |
init() | Initialize event | bool |
getObject() | Get module object instance | module |
getModuleKey() | Returns modul key based on current class | string |
addLangVarPrefix() | Returns language variable with module prefix | string |
initConstruct() | Additional initialize process after @see self::__construct | bool |
Properties
$data
Event data
protected
mixed
$data
= ''
Methods
__construct()
Konstruktor
public
final __construct(
$data :
mixed
)
: mixed
Parameters
- $data : mixed
Return values
mixedrun()
Execute event
public
abstract run(
)
: mixed
Return values
mixedinit()
Initialize event
public
abstract init(
)
: bool
Return values
boolgetObject()
Get module object instance
protected
final getObject(
[ $key :
string
= '' ]
[, $initDb :
bool
= true ]
)
: module
Parameters
- $key : string = ''
- $initDb : bool = true
Return values
modulegetModuleKey()
Returns modul key based on current class
protected
final getModuleKey(
)
: string
Return values
stringaddLangVarPrefix()
Returns language variable with module prefix
protected
addLangVarPrefix(
$var :
string
)
: string
Parameters
- $var : string
Return values
stringinitConstruct()
Additional initialize process after @see self::__construct
protected
initConstruct(
)
: bool