railo-context.Componentcontentbox.model.ui.admin.AdminThemeService
ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp 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
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
settingService
|
true
|
false
|
|
struct
|
themes
|
true
|
false
|
Constructor Summary | |
---|---|
init(any wirebox)
Constructor. |
Method Summary | |
---|---|
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. |
string
|
getSettingService()
|
IAdminTheme
|
getTheme(any name)
Get a registered theme instance. |
string
|
getThemes()
|
AdminThemeService
|
registerTheme(IAdminTheme theme)
Register a new admin theme in ContentBox. |
any
|
setSettingService(any settingService)
|
any
|
setThemes(struct themes)
|
AdminThemeService
|
unregisterTheme(any name)
UnRegister a theme in ContentBox. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
wirebox
Property Detail |
---|
required
- falseinject
- settingService@cbserializable
- truerequired
- falseserializable
- trueMethod Detail |
---|
Get the current theme object
Get the default admin theme setting
Get an array of registered theme names in alphabetical order
Get an array of registered theme names in alphabetical order with their display names
Get a registered theme instance
name
Register a new admin theme in ContentBox
theme
settingService
themes
UnRegister a theme in ContentBox
name