‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Site\Entity\SiteSettings Class Reference
Inheritance diagram for TYPO3\CMS\Core\Site\Entity\SiteSettings:
TYPO3\CMS\Core\Settings\Settings TYPO3\CMS\Core\Settings\SettingsInterface

Public Member Functions

 __construct (array $settings)
 
 has (string $identifier)
 
 isEmpty ()
 
 get (string $identifier, mixed $defaultValue=null)
 
 getAll ()
 
 getAllFlat ()
 
 jsonSerialize ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Settings\Settings
 __construct (protected array $settings,)
 
 get (string $identifier)
 
 getIdentifiers ()
 

Static Public Member Functions

static __set_state (array $state)
 

Private Attributes

array $flatSettings
 

Detailed Description

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.

Definition at line 28 of file SiteSettings.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Site\Entity\SiteSettings::__construct ( array  $settings)

Member Function Documentation

◆ __set_state()

static TYPO3\CMS\Core\Site\Entity\SiteSettings::__set_state ( array  $state)
static

Reimplemented from TYPO3\CMS\Core\Settings\Settings.

Definition at line 68 of file SiteSettings.php.

◆ get()

TYPO3\CMS\Core\Site\Entity\SiteSettings::get ( string  $identifier,
mixed  $defaultValue = null 
)

Definition at line 48 of file SiteSettings.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

◆ getAll()

TYPO3\CMS\Core\Site\Entity\SiteSettings::getAll ( )

Definition at line 53 of file SiteSettings.php.

◆ getAllFlat()

TYPO3\CMS\Core\Site\Entity\SiteSettings::getAllFlat ( )

◆ has()

TYPO3\CMS\Core\Site\Entity\SiteSettings::has ( string  $identifier)

Reimplemented from TYPO3\CMS\Core\Settings\Settings.

Definition at line 38 of file SiteSettings.php.

References TYPO3\CMS\Webhooks\Message\$identifier.

◆ isEmpty()

TYPO3\CMS\Core\Site\Entity\SiteSettings::isEmpty ( )

◆ jsonSerialize()

TYPO3\CMS\Core\Site\Entity\SiteSettings::jsonSerialize ( )

Definition at line 63 of file SiteSettings.php.

Member Data Documentation

◆ $flatSettings

array TYPO3\CMS\Core\Site\Entity\SiteSettings::$flatSettings
private

Definition at line 30 of file SiteSettings.php.

Referenced by TYPO3\CMS\Core\Site\Entity\SiteSettings\getAllFlat().