railo-context.Componentcontentbox.model.menu.providers.BaseProvider
contentbox.model.menu.providers.ContentProvider
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. Provider for Content-type menu items
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
CBHelper
|
true
|
false
|
|
any
|
contentService
|
true
|
false
|
|
any
|
requestService
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
string
|
getAdminTemplate(any menuItem, struct options='[runtime expression]')
Retrieves template for use in admin screens for this type of menu item provider. |
string
|
getCBHelper()
|
string
|
getContentService()
|
string
|
getDisplayTemplate(any menuItem, struct options='[runtime expression]')
Retrieves template for use in rendering menu item on the site. |
string
|
getRequestService()
|
any
|
setCBHelper(any CBHelper)
|
any
|
setContentService(any contentService)
|
any
|
setRequestService(any requestService)
|
Methods inherited from class contentbox.model.menu.providers.BaseProvider |
---|
getDescription, getEntityName, getIconClass, getName, getRenderer, getType, setDescription, setEntityName, setIconClass, setName, setRenderer, setType |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
required
- falseinject
- id:CBHelper@cbserializable
- truerequired
- falseinject
- id:contentService@cbserializable
- truerequired
- falseinject
- coldbox:requestServiceserializable
- trueMethod Detail |
---|
Retrieves template for use in admin screens for this type of menu item provider
getAdminTemplate
in interface
IMenuItemProvider
menuItem
- The menu item objectoptions
- Additional arguments to be used in the methodRetrieves template for use in rendering menu item on the site
getDisplayTemplate
in interface
IMenuItemProvider
menuItem
- The menu item objectoptions
- Additional arguments to be used in the methodCBHelper
contentService
requestService