App\Core_ThemeManager
Inherited from cmsApplication_List


Protected Attributes
protected | $sub_template | = 'index' |
Public Methods
public | __construct() Constructor @global \SCHLIX\cmsDatabase $SystemDB
|
public | viewMainPage() Frontend: view the main page.
|
public boolean | findDuplicateItems(array $data) Given an associative array $data, find possible duplicate from item's table
|
public boolean | setDefaultTheme(bool $is_admin, int $template_id) Sets the default theme @global \SCHLIX\cmsDatabase $SystemDB
|
public int | getDefaultFrontendThemeID() Return the ID (int) of frontend theme @global \SCHLIX\cmsDatabase $SystemDB
|
public int | getDefaultBackendThemeID() Return the ID (int) of backend theme @global \SCHLIX\cmsDatabase $SystemDB
|
public | getDefaultWebsiteThemeName() |
public | isMobile() |
public | setSubTemplate($subtemplate) |
public | loadSubTemplateByName(string $subtemplate_file='index', string $alternative_subtemplate_file='') Loads a subtemplate and run it. The subtemplate can be any file in the template directory, and the default is index
|
public | loadSubTemplateByCurrentMenuID() Load subtemplate by current menu ID
|
public | determineWhetherToUseDesktopOrMobileTemplate() Check current visitor's user agent and determine whether we should use the mobile or desktop template
|
public boolean | Run(array $command) Runs command. The main key 'action' in the command array is the router
|
Public Static Methods
public static type | getCurrentFrontendWebsiteTemplateName() Return the current website template name for frontend @global \SCHLIX\cmsDatabase $SystemDB
|
public static type | getCurrentBackendWebsiteTemplateName() Return the current website template name for frontend @global \SCHLIX\cmsDatabase $SystemDB
|