SiteSettings

final class \TYPO3\CMS\Core\Site\Entity\SiteSettings

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

array

getAllFlat()

public getAllFlat() : array

Return values

array

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