config
in package
implements
JsonSerializable
Module config
Tags
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $author : string
- $basePath : string
- $configOptions : array<string|int, mixed>
- $crons : array<string|int, mixed>
- $description : string
- $help : string
- $key : string
- $licence : string
- $licenceUrl : string
- $link : string
- $name : string
- $removeDataFolder : bool
- $requirements : array<string|int, mixed>
- $support : string
- $tables : array<string|int, mixed>
- $useDataFolder : bool
- $version : string
- $data : bool
- Module config data
- __construct() : mixed
- Konstruktor
- jsonSerialize() : array<string|int, mixed>
- JSON serializer
Properties
$author
public
string
$author
Module author
$basePath
public
string
$basePath
Module base path
$configOptions
public
array<string|int, mixed>
$configOptions
Module config data
$crons
public
array<string|int, mixed>
$crons
Module cronjob data
$description
public
string
$description
Module description
$help
public
string
$help
Help item
$key
public
string
$key
Module key
$licence
public
string
$licence
License name, default value is GPLv3
$licenceUrl
public
string
$licenceUrl
License fiel url
$link
public
string
$link
Module key
$name
public
string
$name
Module name
$removeDataFolder
public
bool
$removeDataFolder
Removce data folder
$requirements
public
array<string|int, mixed>
$requirements
Module requirements array
$support
public
string
$support
Support link
$tables
public
array<string|int, mixed>
$tables
Module tables data
$useDataFolder
public
bool
$useDataFolder
Use data folder
$version
public
string
$version
Module version
$data
Module config data
protected
bool
$data
= []
Methods
__construct()
Konstruktor
public
__construct(string $moduleKey[, mixed $installed = null ]) : mixed
Parameters
- $moduleKey : string
-
Module key string
- $installed : mixed = null
-
config data as array or JSOn string
Return values
mixed —jsonSerialize()
JSON serializer
public
jsonSerialize() : array<string|int, mixed>