StyleEditServiceInterface
in
Interface StyleEditServiceInterface
Table of Contents
- 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>
- styleEditIsInstalled() : bool
- styleEditStylesExists() : bool
- styleEditTemplateExists() : bool
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> —- return an empty array
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 —isAuthenticated()
public
isAuthenticated() : bool
Return values
bool —- Needed to implement the StyleEdit4 Authentication class
isEditing()
public
isEditing() : bool
Return values
bool —- Needed to implement the StyleEdit4 Authentication class
isInEditMode()
public
isInEditMode() : bool
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>
Return values
array<string|int, mixed> —styleEditIsInstalled()
public
styleEditIsInstalled() : bool
Return values
bool —styleEditStylesExists()
public
styleEditStylesExists() : bool
Return values
bool —- Check if there is styles available
styleEditTemplateExists()
public
styleEditTemplateExists() : bool
Return values
bool —- Specific for StyleEdit3 - Always return true on StyleEdit 4