ThemeContentManagerEntryStorage
extends ConfigurationStorage
in package
Class ThemeContentManagerEntryStorage
Table of Contents
- CONFIG_STORAGE_NAMESPACE = 'main_components/gambio/content_manager'
- Configuration storage namespace
- SECRET_CONFIG_KEY_TEMPLATE = 'installed/{THEME_ID}'
- Secret configuration key name template
- __construct() : mixed
- ThemeContentManagerEntryStorage constructor.
- contentManagerEntriesCreatedForTheme() : bool
- storeContentManagerEntriesCreatedForTheme() : ThemeContentManagerEntryStorage
- Stores to the database that content manager entries have been created
- configurationKeyForTheme() : string
- Return the substituted configuration key string for the provided shop ID
Constants
CONFIG_STORAGE_NAMESPACE
Configuration storage namespace
protected
mixed
CONFIG_STORAGE_NAMESPACE
= 'main_components/gambio/content_manager'
SECRET_CONFIG_KEY_TEMPLATE
Secret configuration key name template
protected
mixed
SECRET_CONFIG_KEY_TEMPLATE
= 'installed/{THEME_ID}'
Methods
__construct()
ThemeContentManagerEntryStorage constructor.
public
__construct() : mixed
Return values
mixed —contentManagerEntriesCreatedForTheme()
public
contentManagerEntriesCreatedForTheme(StringType $themeId) : bool
Parameters
- $themeId : StringType
Tags
Return values
bool —Where the Entries already created
storeContentManagerEntriesCreatedForTheme()
Stores to the database that content manager entries have been created
public
storeContentManagerEntriesCreatedForTheme(StringType $themeId) : ThemeContentManagerEntryStorage
Parameters
- $themeId : StringType
Tags
Return values
ThemeContentManagerEntryStorage —configurationKeyForTheme()
Return the substituted configuration key string for the provided shop ID
protected
configurationKeyForTheme(StringType $themeId) : string
Parameters
- $themeId : StringType
-
Theme ID
Tags
Return values
string —Substituted secret configuration key