Class

eZCollaborationItemHandler

class eZCollaborationItemHandler

Constants

NOTIFICATION_COLLECTION_ONE_FOR_ALL

NOTIFICATION_COLLECTION_PER_USER

NOTIFICATION_COLLECTION_PER_PARTICIPATION_ROLE

Properties

$Info

Methods

__construct(string $typeIdentifier, string $typeName, array $parameters = array())

Initializes the handler with identifier and name and optional parameters

attributes()

hasAttribute($attr)

attribute($attribute)

notificationTypes()

notificationCollectionHandling()

notificationParticipantTemplate($participantRole)

hasContentAttribute($collaborationItem, $attribute)

contentAttribute($collaborationItem, $attribute)

classes()

template($viewMode)

templateName()

title($collaborationItem)

useMessages($collaborationItem)

messageCount($collaborationItem)

unreadMessageCount($collaborationItem)

readItem($collaborationItem, $viewMode = false)

removeItem($collaborationItem)

participantTypeString($participantType)

participantRoleString($participantRole)

roleName($collaborationID, $roleID)

content($collaborationItem)

handleCustomAction($module, $collaborationItem)

isCustomAction($name)

hasCustomInput($name)

customInput($name)

Details

at line 36
public __construct(string $typeIdentifier, string $typeName, array $parameters = array())

Initializes the handler with identifier and name and optional parameters

Parameters

string $typeIdentifier
string $typeName
array $parameters

at line 54
public attributes()

at line 63
public hasAttribute($attr)

Parameters

$attr

at line 71
public attribute($attribute)

Parameters

$attribute

at line 92
public notificationTypes()

at line 101
public notificationCollectionHandling()

at line 106
public notificationParticipantTemplate($participantRole)

Parameters

$participantRole

at line 254
public hasContentAttribute($collaborationItem, $attribute)

Parameters

$collaborationItem
$attribute

at line 267
public contentAttribute($collaborationItem, $attribute)

Parameters

$collaborationItem
$attribute

at line 282
public classes()

at line 290
public template($viewMode)

Parameters

$viewMode

at line 300
public templateName()

at line 308
public title($collaborationItem)

Parameters

$collaborationItem

at line 318
public useMessages($collaborationItem)

Parameters

$collaborationItem

at line 328
public messageCount($collaborationItem)

Parameters

$collaborationItem

at line 338
public unreadMessageCount($collaborationItem)

Parameters

$collaborationItem

at line 348
public readItem($collaborationItem, $viewMode = false)

Parameters

$collaborationItem
$viewMode

at line 357
public removeItem($collaborationItem)

Parameters

$collaborationItem

at line 374
public participantTypeString($participantType)

Parameters

$participantType

at line 383
public participantRoleString($participantRole)

Parameters

$participantRole

at line 392
public roleName($collaborationID, $roleID)

Parameters

$collaborationID
$roleID

at line 401
public content($collaborationItem)

Parameters

$collaborationItem

at line 412
public handleCustomAction($module, $collaborationItem)

Parameters

$module
$collaborationItem

at line 419
public isCustomAction($name)

Parameters

$name

at line 429
public hasCustomInput($name)

Parameters

$name

at line 439
public customInput($name)

Parameters

$name