phpDocumentor

StyleEditExpertModeStorage extends ConfigurationStorage

Class StyleEditExpertModeStorage

Table of Contents

CONFIG_STORAGE_NAMESPACE  = 'modules/gambio/styleedit'
Configuration storage namespace
SECRET_CONFIG_KEY_TEMPLATE  = 'expertMode/{CUSTOMER_ID}'
Secret configuration key name template
__construct()  : mixed
StyleEditExpertModeStorage constructor.
expertModeActive()  : bool
setExpertMode()  : void
configurationKeyForCustomer()  : string
Return the substituted configuration key string for the provided customer ID

Constants

CONFIG_STORAGE_NAMESPACE

Configuration storage namespace

protected string CONFIG_STORAGE_NAMESPACE = 'modules/gambio/styleedit'

SECRET_CONFIG_KEY_TEMPLATE

Secret configuration key name template

protected string SECRET_CONFIG_KEY_TEMPLATE = 'expertMode/{CUSTOMER_ID}'

Methods

configurationKeyForCustomer()

Return the substituted configuration key string for the provided customer ID

protected configurationKeyForCustomer(IdType $customerId) : string
Parameters
$customerId : IdType

Customer ID

Return values
string

Substituted secret configuration key

Search results