StyleEdit3Service
in package
implements
StyleEditServiceInterface
Class StyleEdit3Service
Interfaces, Classes and Traits
- StyleEditServiceInterface
- Interface StyleEditServiceInterface
Table of Contents
- DEFAULT_TEMPLATE = 'Honeygrid'
- __construct() : mixed
- StyleEdit3Service constructor.
- 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
- getStyleName() : string
- isAuthenticated() : bool
- isEditing() : bool
- isThemeSystemActive() : bool
- styleEditIsInstalled() : bool
- styleEditStylesExists() : bool
- styleEditTemplateExists() : bool
- includeBootstrap() : void
Constants
DEFAULT_TEMPLATE
protected
string
DEFAULT_TEMPLATE
= 'Honeygrid'
Methods
__construct()
StyleEdit3Service constructor.
public
__construct() : mixed
Return values
mixed —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
Return values
StyleEditReaderInterface —getStyleFileName()
public
getStyleFileName() : string
Return values
string —getStyleName()
public
getStyleName() : 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
isThemeSystemActive()
public
isThemeSystemActive() : bool
Return values
bool —styleEditIsInstalled()
public
styleEditIsInstalled() : bool
Return values
bool —styleEditStylesExists()
public
styleEditStylesExists() : bool
Return values
bool —styleEditTemplateExists()
public
styleEditTemplateExists() : bool
Return values
bool —- Specific for StyleEdit3 - Always return true on StyleEdit 4
includeBootstrap()
private
includeBootstrap() : void