App\Core_ThemeManager_Admin

Inherited from cmsAdmin_PluginsManager

Protected Methods

protected booleanupdateListOfSubtemplateByTemplateID(int $template_id)
Updates the list of subtemplates

Public Methods

public __construct()
Constructor $SystemDB
public ajaxGetThemeItems($is_admin, $start, $end, $sortby='', $sortdirection='ASC')
public ajaxGetAllFrontendItems($start, $end, $sortby='', $sortdirection='ASC')
public ajaxGetAllBackendItems($start, $end, $sortby='', $sortdirection='ASC')
public checkForUnregisteredItems()
public stringajaxSetDefaultWebsiteTheme(string $mode, int $id)
Set default website theme. $mode is either frontend or backend (string)
public ajaxResetDefaultBackendTheme()
public installItem(string $filename)
Install item $SystemDB
public typegetListOfSubtemplatesInCurrentDefaultTheme()
Returns the list of default templates in current theme $SystemDB type $SystemLog
public arraygetListOfSubtemplatesByThemeID(int $template_id)
Returns the list of subtemplates, given a template ID $SystemDB
public ajaxGetDefaultTheme($type='frontend')
public Run()