SiteSettings implements JsonSerializable
FinalYes
Entity representing all settings for a site. These settings are not overlaid with TypoScript settings / constants which happens in the TypoScript Parser for a specific page.
Table of Contents
Interfaces
- JsonSerializable
Methods
- __construct() : mixed
- get() : mixed
- getAll() : array<string|int, mixed>
- getAllFlat() : array<string|int, mixed>
- has() : bool
- isEmpty() : bool
- jsonSerialize() : mixed
Methods
__construct()
public
__construct(array<string|int, mixed> $settings) : mixed
Parameters
- $settings : array<string|int, mixed>
get()
public
get(string $identifier[, mixed $defaultValue = null ]) : mixed
Parameters
- $identifier : string
- $defaultValue : mixed = null
getAll()
public
getAll() : array<string|int, mixed>
Return values
array<string|int, mixed>getAllFlat()
public
getAllFlat() : array<string|int, mixed>
Return values
array<string|int, mixed>has()
public
has(string $identifier) : bool
Parameters
- $identifier : string
Return values
boolisEmpty()
public
isEmpty() : bool
Return values
booljsonSerialize()
public
jsonSerialize() : mixed