StyleEdit4Service
in package
implements
StyleEditServiceInterface
Class StyleEdit4Service
Interfaces, Classes and Traits
- StyleEditServiceInterface
- Interface StyleEditServiceInterface
Table of Contents
- DEFAULT_THEME = 'Honeygrid'
- $parser : StyleEditContentManagerParser
- $previewThemeSettings : PreviewThemeSettings
- $reader : StyleEdit4ReaderWrapper
- $settings : StyleEditConfiguration
- forceCssCacheRenewal() : bool
- getCacheFilePath() : string|null
- getCacheFiles() : array<string|int, mixed>
- getCompiledTemplatesFolder() : string|null
- getCurrentTheme() : string
- getMasterFontVariableName() : string
- getPublishedThemePath() : string|null
- getStyleEditReader() : StyleEditReaderInterface
- - Create the class StyleEdit4Reader with the same interface as StyleEdit3Reader (create a wrapper and a factory)
- getStyleFileName() : string
- isAuthenticated() : bool
- isEditing() : bool
- isInEditMode() : bool
- isThemeSystemActive() : bool
- parseContentManagerRequestData() : array<string|int, mixed>
- previewThemeSettings() : PreviewThemeSettings
- styleEditIsInstalled() : bool
- styleEditStylesExists() : bool
- styleEditTemplateExists() : bool
- parser() : StyleEditContentManagerParser
- settings() : StyleEditConfiguration
Constants
DEFAULT_THEME
protected
string
DEFAULT_THEME
= 'Honeygrid'
Properties
$parser
protected
StyleEditContentManagerParser
$parser
$previewThemeSettings
protected
PreviewThemeSettings
$previewThemeSettings
= alse
$reader
protected
StyleEdit4ReaderWrapper
$reader
$settings
protected
StyleEditConfiguration
$settings
Methods
forceCssCacheRenewal()
public
forceCssCacheRenewal() : bool
Return values
bool —getCacheFilePath()
public
getCacheFilePath() : string|null
Return values
string|null —getCacheFiles()
public
getCacheFiles() : array<string|int, mixed>
Return values
array<string|int, mixed> —getCompiledTemplatesFolder()
public
getCompiledTemplatesFolder() : string|null
Return values
string|null —getCurrentTheme()
public
getCurrentTheme() : string
Return values
string —getMasterFontVariableName()
public
getMasterFontVariableName() : string
Return values
string —getPublishedThemePath()
public
getPublishedThemePath() : string|null
Return values
string|null —getStyleEditReader()
- Create the class StyleEdit4Reader with the same interface as StyleEdit3Reader (create a wrapper and a factory)
public
getStyleEditReader( $themeId) : StyleEditReaderInterface
Parameters
Tags
Return values
StyleEditReaderInterface —getStyleFileName()
public
getStyleFileName() : string
Return values
string —isAuthenticated()
public
isAuthenticated() : bool
Return values
bool —isEditing()
public
isEditing() : bool
Return values
bool —- Needed to implement the StyleEdit4 Authentication class
isInEditMode()
public
isInEditMode() : bool
Tags
Return values
bool —isThemeSystemActive()
public
isThemeSystemActive() : bool
Return values
bool —parseContentManagerRequestData()
public
parseContentManagerRequestData(array<string|int, mixed> $requestData) : array<string|int, mixed>
Parameters
- $requestData : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —previewThemeSettings()
public
previewThemeSettings() : PreviewThemeSettings
Return values
PreviewThemeSettings —styleEditIsInstalled()
public
styleEditIsInstalled() : bool
Return values
bool —styleEditStylesExists()
public
styleEditStylesExists() : bool
Return values
bool —styleEditTemplateExists()
public
styleEditTemplateExists() : bool
Return values
bool —parser()
protected
parser() : StyleEditContentManagerParser
Return values
StyleEditContentManagerParser —settings()
protected
settings() : StyleEditConfiguration