lucee.Component contentbox.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
|
date
|
modifiedDate
|
true
|
false
|
|
any
|
relatedContent
|
true
|
false
|
Constructor Summary | |
---|---|
init()
constructor. |
Method Summary | |
---|---|
string
|
getAuthor()
|
string
|
getAuthorEmail()
|
string
|
getAuthorIP()
|
string
|
getAuthorURL()
|
string
|
getCommentID()
|
string
|
getContent()
|
string
|
getDisplayContent()
Get Display Content. |
string
|
getIsApproved()
|
any
|
getMemento([any excludes=''])
Get memento representation. |
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()
|
boolean
|
hasRelatedContent([any relatedContent])
|
any
|
setAuthor(any author)
|
any
|
setAuthorEmail(any authorEmail)
|
any
|
setAuthorIP(any authorIP)
|
any
|
setAuthorURL(any authorURL)
|
any
|
setContent(any content)
|
any
|
setIsApproved(any isApproved)
|
any
|
setRelatedContent(any relatedContent)
|
Methods inherited from class contentbox.models.BaseEntity |
---|
getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate |
Methods inherited from class contentbox.models.BaseEntityMethods |
---|
getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, isLoaded, preInsert, preUpdate |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anynotnull
- truelength
- 100serializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- truelength
- 255serializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- truelength
- 100serializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- falselength
- 255serializable
- trueaccess
- publicrequired
- falsefieldtype
- idreturntype
- anyparams
- { allocationSize = 1, sequence = 'commentID_seq' }generator
- nativeserializable
- truesetter
- noaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- textserializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampupdate
- falseindex
- idx_createDateserializable
- trueaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- booleanindex
- idx_contentComment,idx_approvedserializable
- trueaccess
- publicrequired
- falsedbdefault
- 0returntype
- anynotnull
- trueormtype
- booleanindex
- idx_deletedserializable
- truesqltype
- bitaccess
- publicrequired
- falsereturntype
- anynotnull
- trueormtype
- timestampindex
- idx_modifiedDateserializable
- trueaccess
- publicrequired
- falsefieldtype
- many-to-onereturntype
- anynotnull
- trueindex
- idx_contentCommentfkcolumn
- FK_contentIDserializable
- truecfc
- contentbox.models.content.BaseContentlazy
- trueMethod Detail |
---|
Get Display Content
Get memento representation
excludes
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.
relatedContent
author
authorEmail
authorIP
authorURL
content
isApproved
relatedContent