railo-context.Componentcontentbox.model.content.BaseContent
contentbox.model.content.Entry
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 blog entry entity that is amazing
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
excerpt
|
true
|
false
|
|
any
|
renderedExcerpt
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor. |
Method Summary | |
---|---|
string
|
getExcerpt()
|
any
|
getMemento([array slugCache='[runtime expression]'])
Get a flat representation of this entry. |
string
|
getRenderedExcerpt()
|
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
|
setRenderedExcerpt(any renderedExcerpt)
|
array
|
validate()
|
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
constructor
Property Detail |
---|
required
- falsenotnull
- falseormtype
- textlength
- 8000serializable
- truerequired
- falsepersistent
- falseserializable
- trueMethod Detail |
---|
Get a flat representation of this entry slugCache.hint Cache of slugs to prevent infinite recursions
getMemento
in class
BaseContent
slugCache
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
renderedExcerpt