SiteSettings extends Settings implements JsonSerializable

Read onlyYes
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

Properties

$settings  : array<string|int, mixed>

Methods

__construct()  : mixed
__set_state()  : self
get()  : mixed
getAll()  : array<string|int, mixed>
getAllFlat()  : array<string|int, mixed>
getIdentifiers()  : array<string|int, mixed>
has()  : bool
isEmpty()  : bool
jsonSerialize()  : mixed

Properties

$settings

protected array<string|int, mixed> $settings

Methods

__construct()

public __construct(array<string|int, mixed> $settings) : mixed
Parameters
$settings : array<string|int, mixed>

__set_state()

public static __set_state(array<string|int, mixed> $state) : self
Parameters
$state : array<string|int, mixed>
Return values
self

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>

getIdentifiers()

public getIdentifiers() : array<string|int, mixed>
Return values
array<string|int, mixed>

has()

public has(string $identifier) : bool
Parameters
$identifier : string
Return values
bool

isEmpty()

public isEmpty() : bool
Return values
bool

jsonSerialize()

public jsonSerialize() : mixed

        
On this page

Search results