ThemeControl

package

Default

Methods

ThemeControl constructor.

__construct(\CI_DB_query_builder $db, string $currentTemplate) 

Arguments

$db

\CI_DB_query_builder

$currentTemplate

string

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

Response

string

Returns the current theme name. If the theme system is not active, the current template name will be returned.

getCurrentTheme() : string

Response

string

Returns the current theme hierarchy. If the theme system is not active, the current template name will be returned as array.

getCurrentThemeHierarchy() : array

Response

array

Returns the path to the dynamic css file, based on the shop root directory.

getDynamicCssFilePath() : string

Response

string

Returns the path to the category listing templates directory, based on the shop root directory.

getFilterSelectionTemplatePath() : string

Response

string

Returns the path to the gm product option templates directory, based on the shop root directory.

getGmProductOptionsTemplatePath() : string

Response

string

Returns the path to the product info templates directory, based on the shop root directory.

getProductInfoTemplatePath() : string

Response

string

Returns the path to the product listing templates directory, based on the shop root directory.

getProductListingTemplatePath() : string

Response

string

Returns the path to the product options templates directory, based on the shop root directory.

getProductOptionsTemplatePath() : string

Response

string

Returns the path to the properties templates directory, based on the shop root directory.

getPropertiesTemplatePath() : string

Response

string

Returns the path to the template settings file, based on the shop root directory.

getTemplateSettingsFilePath() : string

Response

string

Returns the path to the theme config directory, based on the shop root directory.

getThemeConfigPath() : string

Response

string

Returns the path to the theme css directory, based on the shop root directory.

getThemeCssPath() : string

Response

string

Returns the path to the theme image directory, based on the shop root directory.

getThemeFontsPath() : string

Response

string

Returns the path to the theme html directory, based on the shop root directory.

getThemeHtmlPath() : string

Response

string

Returns the path to the theme image directory, based on the shop root directory.

getThemeImagePath() : string

Response

string

Returns the path to the theme javascript directory, based on the shop root directory.

getThemeJsPath() : string

Response

string

Returns the path to the theme, based on the shop root directory.

getThemePath() : string

Response

string

Returns the path to the template settings file, based on the shop root directory.

getThemeSettings() : array

Response

array

Returns the path to the theme smarty directory, based on the shop root directory.

getThemeSmartyPath() : string

Response

string

Returns the path to the themes, based on the shop root directory.

getThemesPath() : string

Response

string

Returns the path to the template settings file, based on the shop root directory.

getThemeVersion() : float

Response

float

Returns the status of the theme system. True, if theme system is active, otherwise false.

isThemeSystemActive() : boolean

Response

boolean

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

currentTemplate

currentTemplate : string
var

Type(s)

string

themeSystemActive

themeSystemActive : boolean
var

Type(s)

boolean

currentTheme

currentTheme : string
var

Type(s)

string

themesPath

themesPath : string
var

Type(s)

string

themePath

themePath : string
var

Type(s)

string

themeHtmlPath

themeHtmlPath : string
var

Type(s)

string

themeSmartyPath

themeSmartyPath : string
var

Type(s)

string

themeCssPath

themeCssPath : string
var

Type(s)

string

themeJsPath

themeJsPath : string
var

Type(s)

string

themeImagePath

themeImagePath : string
var

Type(s)

string

themeFontsPath

themeFontsPath : string
var

Type(s)

string

themeConfigPath

themeConfigPath : string
var

Type(s)

string

categoryListingTemplatePath

categoryListingTemplatePath : string
var

Type(s)

string

filterSectionTemplatePath

filterSectionTemplatePath : string
var

Type(s)

string

productInfoTemplatePath

productInfoTemplatePath : string
var

Type(s)

string

productListingTemplatePath

productListingTemplatePath : string
var

Type(s)

string

productOptionsTemplatePath

productOptionsTemplatePath : string
var

Type(s)

string

gmProductOptionsTemplatePath

gmProductOptionsTemplatePath : string
var

Type(s)

string

propertiesTemplatePath

propertiesTemplatePath : string
var

Type(s)

string

dynamicCssFilePath

dynamicCssFilePath : string
var

Type(s)

string

templateSettingsFilePath

templateSettingsFilePath : string
var

Type(s)

string

themeSettings

themeSettings : array
var

Type(s)

array

themeVersion

themeVersion : float
var

Type(s)

float