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)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

getConversationMessageID()

No description

getConversationMessageSubject()

No description

getConversationMessageBody()

No description

getConversationMessageDateCreated()

No description

getConversationID()

No description

getConversationEditorID()

No description

getConversationMessageLevel()

No description

getConversationMessageParentID()

No description

getConversationMessageSubmitIP()

No description

int getConversationMessageReview()

No description

Return Value

int

Number between 0 and 5

getConversationMessageSubmitUserAgent()

No description

isConversationMessageDeleted()

No description

isConversationMessageFlagged()

No description

isConversationMessageApproved()

No description

getConversationMessageFlagTypes()

No description

getConversationMessageTotalRatingScore()

No description

getPermissionResponseClassName()

No description

getPermissionAssignmentClassName()

No description

getPermissionObjectKeyCategoryHandle()

No description

getPermissionObjectIdentifier()

No description

getConversationMessageAuthorObject()

No description

conversationMessageHasActiveChildren()

No description

setReview(int $review)

No description

Parameters

int $review

A number between 1 and 5

setMessageDateCreated($cnvMessageDateCreated)

No description

Parameters

$cnvMessageDateCreated

setMessageBody($cnvMessageBody)

No description

Parameters

$cnvMessageBody

conversationMessageHasChildren()

No description

approve()

No description

unapprove()

No description

conversationMessageHasFlag($flag)

No description

Parameters

$flag

getConversationMessageBodyOutput($dashboardOverride = false)

No description

Parameters

$dashboardOverride

getConversationObject()

No description

getConversationMessageUserObject()

No description

getConversationMessageUserID()

No description

getConversationMessageDateTime()

No description

getConversationMessageDateTimeOutput($format = 'default')

No description

Parameters

$format

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

No description

Parameters

Type $ratingType
$commentRatingIP
$commentRatingUserID
$post

hasRatedMessage(Type $ratingType, $user)

No description

Parameters

Type $ratingType
$user

getConversationMessageRating(Type $ratingType)

No description

Parameters

Type $ratingType

flag($flagtype)

No description

Parameters

$flagtype

unflag($flagtype)

No description

Parameters

$flagtype

static getByID($cnvMessageID)

No description

Parameters

$cnvMessageID

attachFile(File $f)

No description

Parameters

File $f

removeFile($cnvMessageAttachmentID)

No description

Parameters

$cnvMessageAttachmentID

getAttachments($cnvMessageID)

No description

Parameters

$cnvMessageID

static getByAttachmentID($cnvMessageAttachmentID)

No description

Parameters

$cnvMessageAttachmentID

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

No description

Parameters

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

delete()

No description

restore()

No description