|
eZ Publish
[trunk]
|
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 17 of file ezcollaborationitemhandler.php.
| static eZCollaborationItemHandler::activeHandlers | ( | ) | [static] |
Definition at line 485 of file ezcollaborationitemhandler.php.
Referenced by fetchList().
| eZCollaborationItemHandler::attribute | ( | $ | attribute | ) |
null. Definition at line 65 of file ezcollaborationitemhandler.php.
Definition at line 48 of file ezcollaborationitemhandler.php.
Referenced by hasAttribute().
Definition at line 276 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::content | ( | $ | collaborationItem | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 395 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::contentAttribute | ( | $ | collaborationItem, |
| $ | attribute | ||
| ) |
null. Definition at line 261 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::customInput | ( | $ | name | ) |
Definition at line 433 of file ezcollaborationitemhandler.php.
Referenced by eZApproveCollaborationHandler\handleCustomAction().
| static eZCollaborationItemHandler::defaultRepositories | ( | ) | [static] |
Definition at line 445 of file ezcollaborationitemhandler.php.
Referenced by handlerRepositories().
| static eZCollaborationItemHandler::extensionRepositories | ( | ) | [static] |
Definition at line 456 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 30 of file ezcollaborationitemhandler.php.
Referenced by eZApproveCollaborationHandler\eZApproveCollaborationHandler().
| static eZCollaborationItemHandler::fetchList | ( | ) | [static] |
Definition at line 547 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 112 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 406 of file ezcollaborationitemhandler.php.
| static eZCollaborationItemHandler::handlerRepositories | ( | ) | [static] |
Definition at line 467 of file ezcollaborationitemhandler.php.
Referenced by fetchList(), and instantiate().
| eZCollaborationItemHandler::hasAttribute | ( | $ | attr | ) |
Definition at line 57 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::hasContentAttribute | ( | $ | collaborationItem, |
| $ | attribute | ||
| ) |
Definition at line 248 of file ezcollaborationitemhandler.php.
Definition at line 423 of file ezcollaborationitemhandler.php.
| static eZCollaborationItemHandler::ini | ( | ) | [static] |
Definition at line 359 of file ezcollaborationitemhandler.php.
Referenced by activeHandlers(), defaultRepositories(), and extensionRepositories().
| static eZCollaborationItemHandler::instantiate | ( | $ | handler, |
| $ | repositories = false |
||
| ) | [static] |
Definition at line 496 of file ezcollaborationitemhandler.php.
Referenced by fetchList(), and eZCollaborationItem\handler().
Definition at line 413 of file ezcollaborationitemhandler.php.
Referenced by eZApproveCollaborationHandler\handleCustomAction().
| eZCollaborationItemHandler::messageCount | ( | $ | collaborationItem | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 322 of file ezcollaborationitemhandler.php.
Definition at line 95 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::notificationParticipantTemplate | ( | $ | participantRole | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 100 of file ezcollaborationitemhandler.php.
Referenced by handleCollaborationEvent().
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 86 of file ezcollaborationitemhandler.php.
Referenced by attribute().
| eZCollaborationItemHandler::participantRoleString | ( | $ | participantRole | ) |
Definition at line 377 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::participantTypeString | ( | $ | participantType | ) |
Definition at line 368 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 342 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 351 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::roleName | ( | $ | collaborationID, |
| $ | roleID | ||
| ) |
Definition at line 386 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::template | ( | $ | viewMode | ) |
Definition at line 284 of file ezcollaborationitemhandler.php.
Definition at line 294 of file ezcollaborationitemhandler.php.
Referenced by template().
| eZCollaborationItemHandler::title | ( | $ | collaborationItem | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 302 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::unreadMessageCount | ( | $ | collaborationItem | ) |
Reimplemented in eZApproveCollaborationHandler.
Definition at line 332 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::useMessages | ( | $ | collaborationItem | ) |
Definition at line 312 of file ezcollaborationitemhandler.php.
| eZCollaborationItemHandler::$Info |
Definition at line 565 of file ezcollaborationitemhandler.php.
Definition at line 22 of file ezcollaborationitemhandler.php.
Definition at line 24 of file ezcollaborationitemhandler.php.
Referenced by eZApproveCollaborationHandler\eZApproveCollaborationHandler().
Definition at line 23 of file ezcollaborationitemhandler.php.