railo-context.Componentcontentbox.model.comments.Comment
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 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
|
|
any
|
createdDate
|
true
|
false
|
|
any
|
isApproved
|
false
|
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
|
getCreatedDate()
|
string
|
getDisplayContent()
Get Display Content. |
string
|
getDisplayCreatedDate()
Get formatted createdDate. |
string
|
getIsApproved()
|
any
|
getMemento()
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])
|
boolean
|
isLoaded()
is loaded?. |
any
|
setAuthor(any author)
|
any
|
setAuthorEmail(any authorEmail)
|
any
|
setAuthorIP(any authorIP)
|
any
|
setAuthorURL(any authorURL)
|
any
|
setContent(any content)
|
any
|
setCreatedDate(any createdDate)
|
any
|
setIsApproved(any isApproved)
|
any
|
setRelatedContent(any relatedContent)
|
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
constructor
Property Detail |
---|
required
- falsenotnull
- truelength
- 100serializable
- truerequired
- falsenotnull
- truelength
- 255serializable
- truerequired
- falsenotnull
- truelength
- 100serializable
- truerequired
- falsenotnull
- falselength
- 255serializable
- truerequired
- falsefieldtype
- idgenerator
- nativeserializable
- truesetter
- norequired
- falsenotnull
- trueormtype
- textserializable
- truerequired
- falsenotnull
- trueormtype
- timestampupdate
- falseindex
- idx_createdDateserializable
- truerequired
- falsenotnull
- trueormtype
- booleanindex
- idx_contentComment,idx_approvedserializable
- truerequired
- falsefieldtype
- many-to-onenotnull
- trueindex
- idx_contentCommentfkcolumn
- FK_contentIDserializable
- truecfc
- contentbox.model.content.BaseContentlazy
- trueMethod Detail |
---|
Get Display Content
Get formatted createdDate
Get memento representation
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
is loaded?
author
authorEmail
authorIP
authorURL
content
createdDate
isApproved
relatedContent