Methods
ThemeControl constructor.
__construct(\CI_DB_query_builder $db, string $currentTemplate)
Determines the current theme name and theme system status.
_determineCurrentThemeStatus()
Returns the path to the category listing templates directory, based on the shop root directory.
getCategoryListingTemplatePath() : string
Returns the current theme name. If the theme system is not active, the current template name will be returned.
getCurrentTheme() : string
Returns the current theme hierarchy. If the theme system is not active, the current template name will be
returned as array.
getCurrentThemeHierarchy() : array
Returns the path to the dynamic css file, based on the shop root directory.
getDynamicCssFilePath() : string
Returns the path to the category listing templates directory, based on the shop root directory.
getFilterSelectionTemplatePath() : string
Returns the path to the gm product option templates directory, based on the shop root directory.
getGmProductOptionsTemplatePath() : string
Returns the path to the product info templates directory, based on the shop root directory.
getProductInfoTemplatePath() : string
Returns the path to the product listing templates directory, based on the shop root directory.
getProductListingTemplatePath() : string
Returns the path to the product options templates directory, based on the shop root directory.
getProductOptionsTemplatePath() : string
Returns the path to the properties templates directory, based on the shop root directory.
getPropertiesTemplatePath() : string
Returns the path to the template settings file, based on the shop root directory.
getTemplateSettingsFilePath() : string
Returns the path to the theme config directory, based on the shop root directory.
getThemeConfigPath() : string
Returns the path to the theme css directory, based on the shop root directory.
getThemeCssPath() : string
Returns the path to the theme image directory, based on the shop root directory.
getThemeFontsPath() : string
Returns the path to the theme html directory, based on the shop root directory.
getThemeHtmlPath() : string
Returns the path to the theme image directory, based on the shop root directory.
getThemeImagePath() : string
Returns the path to the theme javascript directory, based on the shop root directory.
getThemeJsPath() : string
Returns the path to the theme, based on the shop root directory.
getThemePath() : string
Returns the path to the template settings file, based on the shop root directory.
getThemeSettings() : array
Returns the path to the theme smarty directory, based on the shop root directory.
getThemeSmartyPath() : string
Returns the path to the themes, based on the shop root directory.
getThemesPath() : string
Returns the path to the template settings file, based on the shop root directory.
getThemeVersion() : float
Returns the status of the theme system. True, if theme system is active, otherwise false.
isThemeSystemActive() : boolean
Properties
db
db : \CI_DB_query_builder
Type(s)
\CI_DB_query_builder
currentTemplate
currentTemplate : string
themeSystemActive
themeSystemActive : boolean
currentTheme
currentTheme : string
themesPath
themesPath : string
themePath
themePath : string
themeHtmlPath
themeHtmlPath : string
themeSmartyPath
themeSmartyPath : string
themeCssPath
themeCssPath : string
themeJsPath
themeJsPath : string
themeImagePath
themeImagePath : string
themeFontsPath
themeFontsPath : string
themeConfigPath
themeConfigPath : string
categoryListingTemplatePath
categoryListingTemplatePath : string
filterSectionTemplatePath
filterSectionTemplatePath : string
productInfoTemplatePath
productInfoTemplatePath : string
productListingTemplatePath
productListingTemplatePath : string
productOptionsTemplatePath
productOptionsTemplatePath : string
gmProductOptionsTemplatePath
gmProductOptionsTemplatePath : string
propertiesTemplatePath
propertiesTemplatePath : string
dynamicCssFilePath
dynamicCssFilePath : string
templateSettingsFilePath
templateSettingsFilePath : string
themeSettings
themeSettings : array
themeVersion
themeVersion : float