phpDocumentor

SettingsService
in package

Class SettingsService

Table of Contents

$boxPosition  : int
$configurationsList  : ConfigurationCollection
$currentThemeId  : string
$errorMessage  : string
$groups  : array<string|int, mixed>
__construct()  : mixed
SettingsService constructor.
configurationsList()  : ConfigurationCollection
findSettingValueByName()  : mixed|null
Searches for a setting value identified by its name. If no result is found, null will be returned.
getCustomStyles()  : string
Returns the custom styles from a JSON File
getErrorMessage()  : string
Returns error message
getScss()  : string
Get Sass Code by group and style name
getScssByGroup()  : array<string|int, mixed>

Properties

Methods

__construct()

SettingsService constructor.

public __construct(string $currentThemeId) : mixed
Parameters
$currentThemeId : string

active theme

Return values
mixed

findSettingValueByName()

Searches for a setting value identified by its name. If no result is found, null will be returned.

public findSettingValueByName( $p_settingName) : mixed|null
Parameters
$p_settingName :
Tags
throws
Exception
Return values
mixed|null

getCustomStyles()

Returns the custom styles from a JSON File

public getCustomStyles() : string
Tags
throws
Exception
Return values
string

getErrorMessage()

Returns error message

public getErrorMessage() : string
Return values
string

getScss()

Get Sass Code by group and style name

public getScss(string $p_group) : string
Parameters
$p_group : string
Tags
throws
Exception
Return values
string

getScssByGroup()

public getScssByGroup( $p_group) : array<string|int, mixed>
Parameters
$p_group :
Tags
throws
Exception
Return values
array<string|int, mixed>

Search results