StyleEdit4ReaderWrapper

Implements \StyleEditReaderInterface

Class StyleEdit4ReaderWrapper

package

Default

Methods

StyleEdit4ReaderWrapper constructor.

__construct(string $themeId) 
Throws
\Exception

Arguments

$themeId

string

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

findSettingValueByName( $p_settingName) : mixed|null
Throws
\Exception

Arguments

$p_settingName

Response

mixed|null

Adapter Method

get_position(string $p_boxName) : string
Throws
\Exception

Arguments

$p_boxName

string

Response

string

Adapter Method

get_status(string $p_boxName) : boolean
Throws
\Exception

Arguments

$p_boxName

string

Response

boolean

Adapter Method

get_status_by_position(integer $position) : boolean
Throws
\Exception

Arguments

$position

integer

Response

boolean

Returns the custom styles from a JSON File

getCustomStyles() : string
Throws
\Exception

Response

string

Returns error message

getErrorMessage() : string

Response

string

Get Sass Code by group and style name

getScss(string $p_group) : string
Throws
\Exception

Arguments

$p_group

string

Response

string

validateSettingsJson

validateSettingsJson(string $themeId) 
Throws
\FileNotFoundException

Arguments

$themeId

string

Properties

reader

reader : \Gambio\StyleEdit\Core\Services\SettingsService
var

Type(s)

\Gambio\StyleEdit\Core\Services\SettingsService

boxService

boxService : 

Type(s)