lucee.Componentcontentbox.models.BaseEntityMethods
contentbox.models.content.BaseContent
contentbox.models.content.ContentStore
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I represent a content value store
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
description
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor. |
Method Summary | |
---|---|
string
|
getDescription()
|
any
|
getMemento(array slugCache='[runtime expression]', [any counter='0'], [boolean showAuthor='true'], [boolean showComments='true'], [boolean showCustomFields='true'], [boolean showContentVersions='true'], [boolean showParent='true'], [boolean showChildren='true'], [boolean showCategories='true'], [boolean showRelatedContent='true'], [boolean showStats='true'])
Get a flat representation of this entry. |
struct
|
getResponseMemento(array slugCache='[runtime expression]', [boolean showAuthor='true'], [boolean showComments='true'], [boolean showCustomFields='true'], [boolean showParent='true'], [boolean showChildren='true'], [boolean showCategories='true'], [boolean showRelatedContent='true'])
Get a flat representation of this entry but for UI response format which. |
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
|
setDescription(any description)
|
array
|
validate()
|
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anynotnull
- falselength
- 500serializable
- trueMethod Detail |
---|
Get a flat representation of this entry
getMemento
in class
BaseContent
slugCache
- Cache of slugs to prevent infinite recursionscounter
- trueshowAuthor
- Show author in memento or notshowComments
- Show comments in memento or notshowCustomFields
- Show comments in memento or notshowContentVersions
- Show content versions in memento or notshowParent
- Show parent in memento or notshowChildren
- Show children in memento or notshowCategories
- Show categories in memento or notshowRelatedContent
- Show related Content in memento or notshowStats
- Show stats in memento or notGet a flat representation of this entry but for UI response format which restricts the data being generated.
getResponseMemento
in class
BaseContent
slugCache
- Cache of slugs to prevent infinite recursionsshowAuthor
showComments
- Show comments in memento or notshowCustomFields
- Show comments in memento or notshowParent
- Show parent in memento or notshowChildren
- Show children in memento or notshowCategories
- Show categories in memento or notshowRelatedContent
- Show related Content in memento or notWipe 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 contentdescription