class Conversation extends ConcreteObject implements ObjectInterface (View source)

Constants

POSTING_ENABLED

POSTING_DISABLED_MANUALLY

POSTING_DISABLED_PERMISSIONS

Properties

$error from ConcreteObject
protected $page

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

getConversationID()

No description

getConversationDateCreated()

No description

getConversationMessagesTotal()

No description

getConversationMaxFilesGuest()

No description

overrideGlobalPermissions()

No description

static 
getByID($cnvID)

No description

getConversationPageObject()

No description

setConversationPageObject($c)

No description

updateConversationSummary()

No description

setConversationParentMessageID($cnvParentMessageID)

No description

static 
add()

No description

setConversationAttachmentOverridesEnabled($cnvAttachmentOverridesEnabled)

No description

setConversationNotificationOverridesEnabled($cnvNotificationOverridesEnabled)

No description

setConversationAttachmentsEnabled($cnvAttachmentsEnabled)

No description

setConversationMaxFileSizeGuest($cnvMaxFileSizeGuest)

No description

setConversationMaxFileSizeRegistered($cnvMaxFileSizeRegistered)

No description

setConversationMaxFilesGuest($cnvMaxFilesGuest)

No description

setConversationMaxFilesRegistered($cnvMaxFilesRegistered)

No description

setConversationFileExtensions($cnvFileExtensions)

No description

setConversationSubscriptionEnabled($cnvEnableSubscription)

No description

getConversationUsersToEmail()

Similar to the method below, but excludes global subscribers who have opted out of conversations, etc.

static 
getDefaultSubscribedUsers()

No description

setConversationSubscribedUsers($users)

No description

isUserSubscribed($user)

No description

subscribeUser($user)

No description

unsubscribeUser($user)

No description

static 
setDefaultSubscribedUsers($users)

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

getConversationID()

getConversationParentMessageID()

getConversationDateCreated()

getConversationDateLastMessage()

getConversationMessagesTotal()

getConversationMaxFileSizeGuest()

getConversationMaxFileSizeRegistered()

getConversationMaxFilesGuest()

getConversationMaxFilesRegistered()

getConversationFileExtensions()

getConversationAttachmentOverridesEnabled()

getConversationAttachmentsEnabled()

getConversationNotificationOverridesEnabled()

overrideGlobalPermissions()

getPermissionResponseClassName()

getPermissionAssignmentClassName()

getPermissionObjectKeyCategoryHandle()

getPermissionObjectIdentifier()

static getByID($cnvID)

Parameters

$cnvID

getConversationPageObject()

setConversationPageObject($c)

Parameters

$c

updateConversationSummary()

UserInfo[] getConversationMessageUsers()

Return Value

UserInfo[]

setConversationParentMessageID($cnvParentMessageID)

Parameters

$cnvParentMessageID

static add()

setConversationAttachmentOverridesEnabled($cnvAttachmentOverridesEnabled)

Parameters

$cnvAttachmentOverridesEnabled

setConversationNotificationOverridesEnabled($cnvNotificationOverridesEnabled)

Parameters

$cnvNotificationOverridesEnabled

setConversationAttachmentsEnabled($cnvAttachmentsEnabled)

Parameters

$cnvAttachmentsEnabled

setConversationMaxFileSizeGuest($cnvMaxFileSizeGuest)

Parameters

$cnvMaxFileSizeGuest

setConversationMaxFileSizeRegistered($cnvMaxFileSizeRegistered)

Parameters

$cnvMaxFileSizeRegistered

setConversationMaxFilesGuest($cnvMaxFilesGuest)

Parameters

$cnvMaxFilesGuest

setConversationMaxFilesRegistered($cnvMaxFilesRegistered)

Parameters

$cnvMaxFilesRegistered

setConversationFileExtensions($cnvFileExtensions)

Parameters

$cnvFileExtensions

getConversationSubscriptionEnabled()

setConversationSubscriptionEnabled($cnvEnableSubscription)

Parameters

$cnvEnableSubscription

getConversationUsersToEmail()

Similar to the method below, but excludes global subscribers who have opted out of conversations, etc.

.. This method should be used any time we actually act on subscriptions, send emails, etc...

getConversationSubscribedUsers()

static getDefaultSubscribedUsers()

setConversationSubscribedUsers($users)

Parameters

$users

isUserSubscribed($user)

Parameters

$user

subscribeUser($user)

Parameters

$user

unsubscribeUser($user)

Parameters

$user

static setDefaultSubscribedUsers($users)

Parameters

$users