railo-context.Componentcontentbox.model.menu.item.BaseMenuItem
contentbox.model.menu.item.ContentMenuItem
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. A Content-based Menu Item
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
contentService
|
true
|
false
|
|
any
|
contentSlug
|
true
|
false
|
|
any
|
provider
|
true
|
false
|
|
any
|
target
|
true
|
false
|
|
any
|
urlClass
|
true
|
false
|
Method Summary | |
---|---|
boolean
|
canDisplay(struct options='[runtime expression]')
Available precheck to determine display-ability of menu item. |
string
|
getContentService()
|
string
|
getContentSlug()
|
struct
|
getMemento()
Get a flat representation of this menu item. |
string
|
getProvider()
|
string
|
getTarget()
|
string
|
getUrlClass()
|
any
|
setContentService(any contentService)
|
any
|
setContentSlug(any contentSlug)
|
any
|
setProvider(any provider)
|
any
|
setTarget(any target)
|
any
|
setUrlClass(any urlClass)
|
Methods inherited from class contentbox.model.menu.item.BaseMenuItem |
---|
addChild, getActive, getAttributesAsString, getChildren, getData, getItemClass, getLabel, getMenu, getMenuItemID, getMenuItemService, getMenuType, getParent, getTitle, hasChild, hasMenu, hasParent, init, removeChild, setActive, setChildren, setData, setItemClass, setLabel, setMenu, setMenuItemService, setMenuType, setParent, setTitle |
Methods inherited from class railo-context.Component |
---|
None |
Property Detail |
---|
required
- falseinject
- id:contentService@cbpersistent
- falseserializable
- truerequired
- falsenotnull
- falseormtype
- stringserializable
- truerequired
- falseinject
- contentbox.model.menu.providers.ContentProviderpersistent
- falseserializable
- truerequired
- falsenotnull
- falseormtype
- stringserializable
- truerequired
- falsenotnull
- falseormtype
- stringserializable
- trueMethod Detail |
---|
Available precheck to determine display-ability of menu item
canDisplay
in class
BaseMenuItem
options
- Additional arguments to be used in the methodGet a flat representation of this menu item
getMemento
in class
BaseMenuItem
contentService
contentSlug
provider
target
urlClass