lucee.Componentcontentbox.models.BaseEntityMethods
contentbox.models.BaseEntity
contentbox.models.comments.Comment
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- I am a Comment Entity
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
author
|
true
|
false
|
|
any
|
authorEmail
|
true
|
false
|
|
any
|
authorIP
|
true
|
false
|
|
any
|
authorURL
|
true
|
false
|
|
any
|
commentID
|
true
|
false
|
|
any
|
content
|
true
|
false
|
|
date
|
createdDate
|
true
|
false
|
|
any
|
isApproved
|
false
|
true
|
false
|
any
|
isDeleted
|
false
|
true
|
false
|
any
|
markdown
|
true
|
false
|
|
date
|
modifiedDate
|
true
|
false
|
|
any
|
relatedContent
|
true
|
false
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
string
|
getAuthor()
|
string
|
getAuthorEmail()
|
string
|
getAuthorIP()
|
string
|
getAuthorURL()
|
string
|
getCommentID()
|
string
|
getContent()
|
string
|
getDisplayContent()
Render the comment using markdown and encoding it for HTML output. |
string
|
getIsApproved()
|
string
|
getMarkdown()
|
any
|
getParentSlug()
Get parent slug from either the page it belongs or the entry it belongs to. |
any
|
getParentTitle()
Get parent title from either the page it belongs or the entry it belongs to. |
string
|
getRelatedContent()
|
struct
|
getRelatedContentSnapshot()
Build a snapshot of the related content. |
boolean
|
hasRelatedContent([any relatedContent])
|
any
|
setAuthor(any author)
|
any
|
setAuthorEmail(any authorEmail)
|
any
|
setAuthorIP(any authorIP)
|
any
|
setAuthorURL(any authorURL)
|
any
|
setCommentID(any commentID)
|
any
|
setContent(any content)
|
any
|
setIsApproved(any isApproved)
|
any
|
setMarkdown(any markdown)
|
any
|
setRelatedContent(any relatedContent)
|
Methods inherited from class contentbox.models.BaseEntity |
---|
getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate |
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
appendToMemento, appendToMementoProfile, arrayWrap, getDisplayCreatedDate, getDisplayModifiedDate, getEntityName, getId, includeMixin, isLoaded, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anynotnull
- truelength
- 100serializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- authorEmailnotnull
- truelength
- 255serializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- authorIPnotnull
- truelength
- 100serializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- authorURLnotnull
- falselength
- 255serializable
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anycolumn
- commentIDormtype
- stringupdate
- falsegenerator
- uuidlength
- 36serializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- textserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- createdDatenotnull
- trueormtype
- timestampupdate
- falsepersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- isApprovednotnull
- trueormtype
- booleanindex
- idx_contentComment,idx_approvedserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- isDeletednotnull
- trueormtype
- booleanpersistent
- trueserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- provider:Processor@cbmarkdownpersistent
- falseserializable
- trueaccess
- publicrequired
- falsereturntype
- anycolumn
- modifiedDatenotnull
- trueormtype
- timestamppersistent
- trueserializable
- trueaccess
- publicrequired
- falsefieldtype
- many-to-onereturntype
- anyfetch
- joinnotnull
- trueindex
- idx_contentCommentfkcolumn
- FK_contentIDserializable
- truecfc
- contentbox.models.content.BaseContentlazy
- trueMethod Detail |
---|
Render the comment using markdown and encoding it for HTML output
Get parent slug from either the page it belongs or the entry it belongs to.
Get parent title from either the page it belongs or the entry it belongs to.
Build a snapshot of the related content
relatedContent
author
authorEmail
authorIP
authorURL
commentID
content
isApproved
markdown
relatedContent