lucee.Componentcontentbox.models.BaseEntityMethods
contentbox.models.content.BaseContent
contentbox.models.content.Page
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I am a cms page entity that totally rocks
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
excerpt
The excerpt for this page.
|
true
|
false
|
|
any
|
layout
The layout in a theme that will be used to render the page out.
|
true
|
false
|
|
any
|
order
The ordering numeric sequence.
|
0
|
true
|
false
|
any
|
renderedExcerpt
|
true
|
false
|
|
any
|
showInMenu
If true, this page is used when building automated menus.
|
true
|
true
|
false
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
BaseContent
|
clone(any author, any original, any originalService, boolean publish, any originalSlugRoot, any newSlugRoot)
Wipe primary key, and descendant keys, and prepare for cloning of entire hierarchies. |
string
|
getExcerpt()
|
string
|
getLayout()
|
any
|
getLayoutWithDefault()
Get the layout or if empty the default convention of "pages". |
any
|
getLayoutWithInheritance()
Get layout with layout inheritance, if none found return normal saved layout. |
string
|
getOrder()
|
string
|
getShowInMenu()
|
boolean
|
hasExcerpt()
Verifies an excerpt exists in this content object via length checks. |
boolean
|
isHomepage()
Verifies if the current page is the current site homepage. |
any
|
renderExcerpt()
|
any
|
setExcerpt(any excerpt)
|
any
|
setLayout(any layout)
|
any
|
setOrder(any order)
|
any
|
setRenderedExcerpt(any renderedExcerpt)
|
any
|
setShowInMenu(any showInMenu)
|
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
appendToMemento, appendToMementoProfile, arrayWrap, getDisplayCreatedDate, getDisplayModifiedDate, getEntityName, getId, includeMixin, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Property Detail |
---|
The excerpt for this page. This can be empty.
access
- publicrequired
- falsereturntype
- anycolumn
- excerptnotnull
- falseormtype
- textlength
- 8000serializable
- trueThe layout in a theme that will be used to render the page out
access
- publicrequired
- falsereturntype
- anycolumn
- layoutnotnull
- falselength
- 200serializable
- trueThe ordering numeric sequence
access
- publicrequired
- falsereturntype
- anycolumn
- ordernotnull
- falseormtype
- integerserializable
- trueaccess
- publicrequired
- falsereturntype
- anypersistent
- falseserializable
- trueIf true, this page is used when building automated menus. Else it is ignored.
access
- publicrequired
- falsereturntype
- anycolumn
- showInMenunotnull
- trueormtype
- booleanindex
- idx_showInMenuserializable
- trueMethod Detail |
---|
Wipe primary key, and descendant keys, and prepare for cloning of entire hierarchies
clone
in class
BaseContent
author
- The author doing the cloningoriginal
- The original content object that will be cloned into this content objectoriginalService
- The ContentBox content service objectpublish
- Publish pages or leave as draftsoriginalSlugRoot
- The original slug that will be replaced in all cloned contentnewSlugRoot
- The new slug root that will be replaced in all cloned contentGet the layout or if empty the default convention of "pages"
Get layout with layout inheritance, if none found return normal saved layout
Verifies an excerpt exists in this content object via length checks
Verifies if the current page is the current site homepage
excerpt
layout
order
renderedExcerpt
showInMenu