class Message extends ConcreteObject implements ObjectInterface (View source)

Properties

$error from ConcreteObject
$cnvMessageID
protected $cnvMessageDateCreated
$cnvMessageFlagTypes
$cnvMessageReview

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

getConversationMessageID()

No description

getConversationMessageBody()

No description

getConversationID()

No description

getConversationEditorID()

No description

getConversationMessageLevel()

No description

int
getConversationMessageReview()

No description

isConversationMessageDeleted()

No description

isConversationMessageFlagged()

No description

setReview(int $review)

No description

setMessageDateCreated($cnvMessageDateCreated)

No description

setMessageBody($cnvMessageBody)

No description

approve()

No description

unapprove()

No description

conversationMessageHasFlag($flag)

No description

getConversationMessageBodyOutput($dashboardOverride = false)

No description

getConversationObject()

No description

getConversationMessageUserID()

No description

getConversationMessageDateTimeOutput($format = 'default')

No description

rateMessage(Type $ratingType, $commentRatingIP, $commentRatingUserID, $post = array())

No description

hasRatedMessage(Type $ratingType, $user)

No description

getConversationMessageRating(Type $ratingType)

No description

flag($flagtype)

No description

unflag($flagtype)

No description

static 
getByID($cnvMessageID)

No description

attachFile(File $f)

No description

removeFile($cnvMessageAttachmentID)

No description

getAttachments($cnvMessageID)

No description

static 
getByAttachmentID($cnvMessageAttachmentID)

No description

static 
add(Conversation $cnv, Author $author, $cnvMessageSubject, $cnvMessageBody, $parentMessage = false)

No description

delete()

No description

restore()

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

getConversationMessageID()

getConversationMessageSubject()

getConversationMessageBody()

getConversationMessageDateCreated()

getConversationID()

getConversationEditorID()

getConversationMessageLevel()

getConversationMessageParentID()

getConversationMessageSubmitIP()

int getConversationMessageReview()

Return Value

int Number between 0 and 5

getConversationMessageSubmitUserAgent()

isConversationMessageDeleted()

isConversationMessageFlagged()

isConversationMessageApproved()

getConversationMessageFlagTypes()

getConversationMessageTotalRatingScore()

getPermissionResponseClassName()

getPermissionAssignmentClassName()

getPermissionObjectKeyCategoryHandle()

getPermissionObjectIdentifier()

getConversationMessageAuthorObject()

conversationMessageHasActiveChildren()

setReview(int $review)

Parameters

int $review A number between 1 and 5

setMessageDateCreated($cnvMessageDateCreated)

Parameters

$cnvMessageDateCreated

setMessageBody($cnvMessageBody)

Parameters

$cnvMessageBody

conversationMessageHasChildren()

approve()

unapprove()

conversationMessageHasFlag($flag)

Parameters

$flag

getConversationMessageBodyOutput($dashboardOverride = false)

Parameters

$dashboardOverride

getConversationObject()

getConversationMessageUserObject()

getConversationMessageUserID()

getConversationMessageDateTime()

getConversationMessageDateTimeOutput($format = 'default')

Parameters

$format

rateMessage(Type $ratingType, $commentRatingIP, $commentRatingUserID, $post = array())

Parameters

Type $ratingType
$commentRatingIP
$commentRatingUserID
$post

hasRatedMessage(Type $ratingType, $user)

Parameters

Type $ratingType
$user

getConversationMessageRating(Type $ratingType)

Parameters

Type $ratingType

flag($flagtype)

Parameters

$flagtype

unflag($flagtype)

Parameters

$flagtype

static getByID($cnvMessageID)

Parameters

$cnvMessageID

attachFile(File $f)

Parameters

File $f

removeFile($cnvMessageAttachmentID)

Parameters

$cnvMessageAttachmentID

getAttachments($cnvMessageID)

Parameters

$cnvMessageID

static getByAttachmentID($cnvMessageAttachmentID)

Parameters

$cnvMessageAttachmentID

static add(Conversation $cnv, Author $author, $cnvMessageSubject, $cnvMessageBody, $parentMessage = false)

Parameters

Conversation $cnv
Author $author
$cnvMessageSubject
$cnvMessageBody
$parentMessage

delete()

restore()