Config
in package
AbstractYes
Provides methods for fast access to the module settings.
Tags
Table of Contents
Methods
- get() : mixed
- Use this method to get a module setting.
- getConstant() : mixed
- isReportPageActive() : bool
- Checks if a report for a object can be show according to its setting.
- set() : void
Methods
get()
Use this method to get a module setting.
public
final static get(Platforms $platform, Settings $setting) : mixed
Parameters
Tags
Return values
mixed —Returns a setting from the table mod_lkn_hook_notification_configs.
getConstant()
public
final static getConstant(string $constant) : mixed
Parameters
- $constant : string
isReportPageActive()
Checks if a report for a object can be show according to its setting.
public
final static isReportPageActive(string $object) : bool
Parameters
- $object : string
Tags
Return values
boolset()
public
final static set(Platforms $platform, Settings $setting, mixed $value) : void