phpDocumentor

StyleEdit4ReaderWrapper
in package
implements StyleEditReaderInterface

Class StyleEdit4ReaderWrapper

Interfaces, Classes and Traits

StyleEditReaderInterface
Interface StyleEditReaderInterface

Table of Contents

$boxService  : MenuBoxService
$reader  : SettingsService
__construct()  : mixed
StyleEdit4ReaderWrapper constructor.
findSettingValueByName()  : mixed|null
Searches for a setting value identified by its name. If no result is found, null will be returned.
findSettingValuesByNames()  : array<string|int, mixed>
get_position()  : string
Adapter Method
get_status()  : bool
Adapter Method
get_status_by_position()  : bool
Adapter Method
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
validateSettingsJson()  : void

Properties

Methods

__construct()

StyleEdit4ReaderWrapper constructor.

public __construct(string $themeId) : mixed
Parameters
$themeId : string
Tags
throws
Exception
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

findSettingValuesByNames()

public findSettingValuesByNames(mixed ...$settingsNames) : array<string|int, mixed>
Parameters
$settingsNames : mixed
Tags
inheritDoc
throws
Exception
Return values
array<string|int, mixed>

get_position()

Adapter Method

public get_position(string $p_boxName) : string
Parameters
$p_boxName : string
Tags
throws
Exception
Return values
string

get_status()

Adapter Method

public get_status(string $p_boxName) : bool
Parameters
$p_boxName : string
Tags
throws
Exception
Return values
bool

get_status_by_position()

Adapter Method

public get_status_by_position(int $position) : bool
Parameters
$position : int
Tags
throws
Exception
Return values
bool

getCustomStyles()

Returns the custom styles from a JSON File

public getCustomStyles() : string
Tags
throws
Exception
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

Search results