tools
Module tools trait
Tags
Table of Contents
- addLangVarPrefix() : string
- Returns language variable with module prefix
- getModuleKey() : string
- Returns modul key based on current class
- getObject() : module
- Get module object instance
- initConstruct() : bool
- Additional initialize process after @see self::__construct
Methods
addLangVarPrefix()
Returns language variable with module prefix
protected
addLangVarPrefix(string $var) : string
Parameters
- $var : string
Return values
string —getModuleKey()
Returns modul key based on current class
protected
final getModuleKey() : string
Return values
string —getObject()
Get module object instance
protected
final getObject([string $key = '' ][, bool $initDb = true ]) : module
Parameters
- $key : string = ''
- $initDb : bool = true
Return values
module —initConstruct()
Additional initialize process after @see self::__construct
protected
initConstruct() : bool