|
eZ Publish
[4.2]
|
The class eZCollaborationItemHandler does. More...
Inheritance diagram for eZCollaborationItemHandler:Public Member Functions | |
| attribute ($attribute) | |
| attributes () | |
| classes () | |
| content ($collaborationItem) | |
| contentAttribute ($collaborationItem, $attribute) | |
| customInput ($name) | |
| eZCollaborationItemHandler ($typeIdentifier, $typeName, $parameters=array()) | |
| handleCustomAction ($module, $collaborationItem) | |
| hasAttribute ($attr) | |
| hasContentAttribute ($collaborationItem, $attribute) | |
| hasCustomInput ($name) | |
| isCustomAction ($name) | |
| messageCount ($collaborationItem) | |
| notificationCollectionHandling () | |
| notificationParticipantTemplate ($participantRole) | |
| notificationTypes () | |
| participantRoleString ($participantRole) | |
| participantTypeString ($participantType) | |
| readItem ($collaborationItem, $viewMode=false) | |
| removeItem ($collaborationItem) | |
| roleName ($collaborationID, $roleID) | |
| template ($viewMode) | |
| templateName () | |
| title ($collaborationItem) | |
| unreadMessageCount ($collaborationItem) | |
| useMessages ($collaborationItem) | |
Static Public Member Functions | |
| static | activeHandlers () |
| static | defaultRepositories () |
| static | extensionRepositories () |
| static | fetchList () |
| static | handleCollaborationEvent ($event, $item, &$parameters) |
| static | handlerRepositories () |
| static | ini () |
| static | instantiate ($handler, $repositories=false) |
Public Attributes | |
| $Info | |
| const | NOTIFICATION_COLLECTION_ONE_FOR_ALL = 1 |
| const | NOTIFICATION_COLLECTION_PER_PARTICIPATION_ROLE = 3 |
| const | NOTIFICATION_COLLECTION_PER_USER = 2 |
The class eZCollaborationItemHandler does.
Definition at line 40 of file ezcollaborationitemhandler.php.
| static eZCollaborationItemHandler::activeHandlers | ( | ) | [static] |
Definition at line 511 of file ezcollaborationitemhandler.php.
Referenced by fetchList().
| eZCollaborationItemHandler::attribute | ( | $ | attribute | ) |
null. Definition at line 88 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::attributes | ( | ) |
Definition at line 71 of file ezcollaborationitemhandler.php.
Referenced by hasAttribute().
| eZCollaborationItemHandler::classes | ( | ) |
Definition at line 302 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::content | ( | $ | collaborationItem | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 421 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::contentAttribute | ( | $ | collaborationItem, |
| $ | attribute | ||
| ) |
null. Definition at line 287 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::customInput | ( | $ | name | ) |
Definition at line 459 of file ezcollaborationitemhandler.php.
Referenced by eZApproveCollaborationHandler\handleCustomAction().
| static eZCollaborationItemHandler::defaultRepositories | ( | ) | [static] |
Definition at line 471 of file ezcollaborationitemhandler.php.
Referenced by handlerRepositories().
| static eZCollaborationItemHandler::extensionRepositories | ( | ) | [static] |
Definition at line 482 of file ezcollaborationitemhandler.php.
Referenced by handlerRepositories().
| eZCollaborationItemHandler::eZCollaborationItemHandler | ( | $ | typeIdentifier, |
| $ | typeName, | ||
| $ | parameters = array() |
||
| ) |
Initializes the handler with identifier and name. Optional parameters can be placed in $parameters.
Definition at line 53 of file ezcollaborationitemhandler.php.
Referenced by eZApproveCollaborationHandler\eZApproveCollaborationHandler().
| static eZCollaborationItemHandler::fetchList | ( | ) | [static] |
Definition at line 573 of file ezcollaborationitemhandler.php.
Referenced by eZCollaborationNotificationHandler\collaborationHandlers().
| static eZCollaborationItemHandler::handleCollaborationEvent | ( | $ | event, |
| $ | item, | ||
| &$ | parameters | ||
| ) | [static] |
Handles a notification event for collaboration items.
Definition at line 135 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::handleCustomAction | ( | $ | module, |
| $ | collaborationItem | ||
| ) |
This function is called when a custom action is executed for a specific collaboration item. The module object is available in $module and the item in $collaborationItem.
Reimplemented in eZApproveCollaborationHandler.
Definition at line 432 of file ezcollaborationitemhandler.php.
| static eZCollaborationItemHandler::handlerRepositories | ( | ) | [static] |
Definition at line 493 of file ezcollaborationitemhandler.php.
Referenced by fetchList(), and instantiate().
| eZCollaborationItemHandler::hasAttribute | ( | $ | attr | ) |
Definition at line 80 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::hasContentAttribute | ( | $ | collaborationItem, |
| $ | attribute | ||
| ) |
Definition at line 274 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::hasCustomInput | ( | $ | name | ) |
Definition at line 449 of file ezcollaborationitemhandler.php.
| static eZCollaborationItemHandler::ini | ( | ) | [static] |
Definition at line 385 of file ezcollaborationitemhandler.php.
Referenced by activeHandlers(), defaultRepositories(), and extensionRepositories().
| static eZCollaborationItemHandler::instantiate | ( | $ | handler, |
| $ | repositories = false |
||
| ) | [static] |
Definition at line 522 of file ezcollaborationitemhandler.php.
Referenced by fetchList(), and eZCollaborationItem\handler().
| eZCollaborationItemHandler::isCustomAction | ( | $ | name | ) |
Definition at line 439 of file ezcollaborationitemhandler.php.
Referenced by eZApproveCollaborationHandler\handleCustomAction().
| eZCollaborationItemHandler::messageCount | ( | $ | collaborationItem | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 348 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::notificationCollectionHandling | ( | ) |
Definition at line 118 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::notificationParticipantTemplate | ( | $ | participantRole | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 123 of file ezcollaborationitemhandler.php.
Referenced by handleCollaborationEvent().
| eZCollaborationItemHandler::notificationTypes | ( | ) |
true the handler supports notification but does not have subnotifications. If it returns false the handler does not support notificiation. If it returns an array the array contains a list associative arrays each containing a name and value entry. Definition at line 109 of file ezcollaborationitemhandler.php.
Referenced by attribute().
| eZCollaborationItemHandler::participantRoleString | ( | $ | participantRole | ) |
Definition at line 403 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::participantTypeString | ( | $ | participantType | ) |
Definition at line 394 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::readItem | ( | $ | collaborationItem, |
| $ | viewMode = false |
||
| ) |
This is called whenever the item is considered to be read, it can be used by handlers to update when the item was last read.
Reimplemented in eZApproveCollaborationHandler.
Definition at line 368 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::removeItem | ( | $ | collaborationItem | ) |
This is called whenever a collaboration item is to be removed. Reimplementing this function can be used to cleanup external tables or other resources.
Definition at line 377 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::roleName | ( | $ | collaborationID, |
| $ | roleID | ||
| ) |
Definition at line 412 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::template | ( | $ | viewMode | ) |
Definition at line 310 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::templateName | ( | ) |
Definition at line 320 of file ezcollaborationitemhandler.php.
Referenced by template().
| eZCollaborationItemHandler::title | ( | $ | collaborationItem | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 328 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::unreadMessageCount | ( | $ | collaborationItem | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 358 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::useMessages | ( | $ | collaborationItem | ) |
Definition at line 338 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::$Info |
Definition at line 591 of file ezcollaborationitemhandler.php.
Definition at line 45 of file ezcollaborationitemhandler.php.
Definition at line 47 of file ezcollaborationitemhandler.php.
Referenced by eZApproveCollaborationHandler\eZApproveCollaborationHandler().
Definition at line 46 of file ezcollaborationitemhandler.php.