lizmapLogConfig
in package
Table of Contents
Properties
- $config : mixed
Methods
- __construct() : mixed
- getLogItem() : lizmapLogItem|Item
- Get a log item.
- getLogItemList() : array<string|int, string>
- Get a list of log items names.
- getProperties() : mixed
- modify() : mixed
- Modify the general options.
- save() : mixed
- save the global configuration data.
- update() : mixed
- Update the global config data. (modify and save).
Properties
$config
protected
mixed
$config
Tags
Methods
__construct()
public
__construct(mixed $readConfigPath, mixed $appContext, mixed $iniFile) : mixed
Parameters
- $readConfigPath : mixed
- $appContext : mixed
- $iniFile : mixed
getLogItem()
Get a log item.
public
getLogItem(string $key) : lizmapLogItem|Item
Parameters
- $key : string
-
Key of the log item to get
Return values
lizmapLogItem|ItemgetLogItemList()
Get a list of log items names.
public
getLogItemList() : array<string|int, string>
Return values
array<string|int, string> —list of names
getProperties()
public
getProperties() : mixed
modify()
Modify the general options.
public
modify(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
array containing the global config data
save()
save the global configuration data.
public
save([null|mixed $ini = null ]) : mixed
Parameters
- $ini : null|mixed = null
update()
Update the global config data. (modify and save).
public
update(array<string|int, mixed> $data[, null|mixed $ini = null ]) : mixed
Parameters
- $data : array<string|int, mixed>
-
array containing the data of the general options
- $ini : null|mixed = null