railo-context.Componentcontentbox.model.content.BaseContent
contentbox.model.content.Page
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. I am a cms page entity that totally rocks
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
excerpt
|
true
|
false
|
|
any
|
layout
|
true
|
false
|
|
any
|
mobileLayout
|
true
|
false
|
|
any
|
order
|
0
|
true
|
false
|
any
|
renderedExcerpt
|
true
|
false
|
|
any
|
showInMenu
|
true
|
true
|
false
|
any
|
SSLOnly
|
false
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor. |
Method Summary | |
---|---|
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. |
any
|
getMemento([array slugCache='[runtime expression]'])
Get a flat representation of this page. |
string
|
getMobileLayout()
|
any
|
getMobileLayoutWithInheritance()
Get mobile layout with layout inheritance, if none found return normal saved layout. |
string
|
getOrder()
|
string
|
getRenderedExcerpt()
|
string
|
getShowInMenu()
|
string
|
getSSLOnly()
|
boolean
|
hasExcerpt()
has excerpt. |
BaseContent
|
prepareForClone(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. |
any
|
renderExcerpt()
Render excerpt. |
any
|
setExcerpt(any excerpt)
|
any
|
setLayout(any layout)
|
any
|
setMobileLayout(any mobileLayout)
|
any
|
setOrder(any order)
|
any
|
setRenderedExcerpt(any renderedExcerpt)
|
any
|
setShowInMenu(any showInMenu)
|
any
|
setSSLOnly(any SSLOnly)
|
array
|
validate()
|
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
constructor
Property Detail |
---|
required
- falsenotnull
- falseormtype
- textlength
- 8000serializable
- truerequired
- falsenotnull
- falselength
- 200serializable
- truerequired
- falsenotnull
- falselength
- 200serializable
- truerequired
- falsenotnull
- falseormtype
- integerserializable
- truerequired
- falsepersistent
- falseserializable
- truerequired
- falsenotnull
- trueormtype
- booleanindex
- idx_showInMenuserializable
- truerequired
- falsenotnull
- trueormtype
- booleanindex
- idx_sslserializable
- trueMethod Detail |
---|
Get the layout or if empty the default convention of "pages"
Get layout with layout inheritance, if none found return normal saved layout
Get a flat representation of this page slugCache.hint Cache of slugs to prevent infinite recursions
getMemento
in class
BaseContent
slugCache
Get mobile layout with layout inheritance, if none found return normal saved layout
has excerpt
Wipe primary key, and descendant keys, and prepare for cloning of entire hierarchies
prepareForClone
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 contentRender excerpt
excerpt
layout
mobileLayout
order
renderedExcerpt
showInMenu
SSLOnly