SiteSettings
final class \
- Implements
- JsonSerializable
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
- getAllFlat() : array
- has() : bool
- isEmpty() : bool
- jsonSerialize() : mixed
Methods
__construct()
public
__construct(array $settings) : mixed
Parameters
- $settings : array
get()
public
get(string $identifier[, mixed $defaultValue = null ]) : mixed
Parameters
- $identifier : string
- $defaultValue : mixed = null
getAll()
public
getAll() : array
Return values
arraygetAllFlat()
public
getAllFlat() : array
Return values
arrayhas()
public
has(string $identifier) : bool
Parameters
- $identifier : string
Return values
boolisEmpty()
public
isEmpty() : bool
Return values
booljsonSerialize()
public
jsonSerialize() : mixed