railo-context.Componentcontentbox.model.menu.item.BaseMenuItem
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. Base entity for all subclasses of Menu Items
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
active
|
1
|
true
|
false
|
array
|
children
|
true
|
false
|
|
any
|
data
|
true
|
false
|
|
any
|
itemClass
|
true
|
false
|
|
any
|
label
|
true
|
false
|
|
any
|
menu
|
true
|
false
|
|
any
|
menuItemID
|
true
|
false
|
|
any
|
menuItemService
|
true
|
false
|
|
any
|
menuType
|
true
|
false
|
|
any
|
parent
|
true
|
false
|
|
any
|
title
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor. |
Method Summary | |
---|---|
any
|
addChild(any child)
|
boolean
|
canDisplay(struct options='[runtime expression]')
Available precheck to determine display-ability of menu item. |
string
|
getActive()
|
string
|
getAttributesAsString()
Get a handy, formatted string of attributes that are applicable for the current menu item. |
string
|
getChildren()
|
string
|
getData()
|
string
|
getItemClass()
|
string
|
getLabel()
|
struct
|
getMemento()
Get a flat representation of this menu item. |
string
|
getMenu()
|
string
|
getMenuItemID()
|
string
|
getMenuItemService()
|
string
|
getMenuType()
|
string
|
getParent()
|
string
|
getTitle()
|
boolean
|
hasChild([any child])
|
boolean
|
hasMenu([any menu])
|
boolean
|
hasParent([any parent])
|
boolean
|
removeChild(any child)
|
any
|
setActive(any active)
|
any
|
setChildren(array children)
|
any
|
setData(any data)
|
any
|
setItemClass(any itemClass)
|
any
|
setLabel(any label)
|
any
|
setMenu(any menu)
|
any
|
setMenuItemService(any menuItemService)
|
any
|
setMenuType(any menuType)
|
any
|
setParent(any parent)
|
any
|
setTitle(any title)
|
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
constructor
Property Detail |
---|
required
- falseormtype
- booleanserializable
- truerequired
- falseinverse
- truefieldtype
- one-to-manycascade
- all-delete-orphanbatchsize
- 25singularname
- childfkcolumn
- FK_parentIDserializable
- truecfc
- BaseMenuItemlazy
- extrarequired
- falsenotnull
- falseormtype
- stringserializable
- truerequired
- falsenotnull
- falseormtype
- stringlength
- 200serializable
- truerequired
- falsenotnull
- falseormtype
- stringlength
- 200serializable
- truerequired
- falsefieldtype
- many-to-onenotnull
- truefetch
- joinfkcolumn
- FK_menuIDserializable
- truecfc
- contentbox.model.menu.Menulazy
- truerequired
- falsefieldtype
- idgenerator
- nativeserializable
- truesetter
- norequired
- falseinject
- menuItemService@cbpersistent
- falseserializable
- truerequired
- falseinsert
- falseupdate
- falseserializable
- truerequired
- falsefieldtype
- many-to-onefkcolumn
- FK_parentIDserializable
- truecfc
- BaseMenuItemlazy
- truerequired
- falsenotnull
- trueormtype
- stringindex
- idx_menuitemtitlelength
- 200serializable
- trueMethod Detail |
---|
child
Available precheck to determine display-ability of menu item
options
- Additional arguments to be used in the methodGet a handy, formatted string of attributes that are applicable for the current menu item
Get a flat representation of this menu item
child
menu
parent
child
active
children
data
itemClass
label
menu
menuItemService
menuType
parent
title