|
ContentBox Core API 1.5.7 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.ui.admin.AdminThemeService
public class AdminThemeService
******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ******************************************************************************* Manages ContentBox Admin Themes
Constructor Summary | |
---|---|
init(any wirebox)
Constructor |
Method Summary | |
---|---|
any |
GETSETTINGSERVICE()
|
struct |
GETTHEMES()
|
void |
SETSETTINGSERVICE(any settingService)
|
void |
SETTHEMES(struct themes)
|
IAdminTheme |
getCurrentTheme()
Get the current theme object |
string |
getDefaultTheme()
Get the default admin theme setting |
array |
getRegisteredThemes()
Get an array of registered theme names in alphabetical order |
array |
getRegisteredThemesMap()
Get an array of registered theme names in alphabetical order with their display names |
IAdminTheme |
getTheme(any name)
Get a registered theme instance |
AdminThemeService |
registerTheme(IAdminTheme theme)
Register a new admin theme in ContentBox |
AdminThemeService |
unregisterTheme(any name)
UnRegister a theme in ContentBox |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init(any wirebox)
wirebox
Method Detail |
---|
public any GETSETTINGSERVICE()
public struct GETTHEMES()
public void SETSETTINGSERVICE(any settingService)
settingService
public void SETTHEMES(struct themes)
themes
public IAdminTheme getCurrentTheme()
public string getDefaultTheme()
public array getRegisteredThemes()
public array getRegisteredThemesMap()
public IAdminTheme getTheme(any name)
name
public AdminThemeService registerTheme(IAdminTheme theme)
theme
public AdminThemeService unregisterTheme(any name)
name
|
ContentBox Core API 1.5.7 | ||||
FRAMES |