|
eZ Publish
[trunk]
|
The class eZCollaborationItem does. More...
Inheritance diagram for eZCollaborationItem:
Collaboration diagram for eZCollaborationItem:Public Member Functions | |
| content () | |
| contentAttribute ($attribute) | |
| createNotificationEvent ($subType=false) | |
| creator () | |
| eZCollaborationItem ($row) | |
| handler () | |
| handleView ($viewMode) | |
| hasContentAttribute ($attribute) | |
| isCreator () | |
| messageCount () | |
| participantList () | |
| setIsActive ($active, $userID=false) | |
| setLastRead ($userID=false, $timestamp=false) | |
| title () | |
| unreadMessageCount () | |
| useMessages () | |
| userStatus () | |
Static Public Member Functions | |
| static | cleanup () |
| static | create ($typeIdentifier, $creatorID, $status=self::STATUS_ACTIVE) |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetch ($id, $creatorID=false, $asObject=true) |
| static | fetchList ($parameters=array()) |
| static | fetchListCount ($parameters=array()) |
| static | fetchListTool ($parameters=array(), $asCount) |
Public Attributes | |
| $Created | |
| $CreatorID | |
| $DataFloat1 | |
| $DataFloat2 | |
| $DataFloat3 | |
| $DataInt1 | |
| $DataInt2 | |
| $DataInt3 | |
| $DataText1 | |
| $DataText2 | |
| $DataText3 | |
| $ID | |
| $Modified | |
| $Status | |
| $TypeIdentifier | |
| const | STATUS_ACTIVE = 1 |
| const | STATUS_ARCHIVE = 3 |
| const | STATUS_INACTIVE = 2 |
The class eZCollaborationItem does.
Definition at line 17 of file ezcollaborationitem.php.
| static eZCollaborationItem::cleanup | ( | ) | [static] |
Removes all collaboration items by fetching them and calling remove on them.
Definition at line 510 of file ezcollaborationitem.php.
Definition at line 231 of file ezcollaborationitem.php.
| eZCollaborationItem::contentAttribute | ( | $ | attribute | ) |
Definition at line 262 of file ezcollaborationitem.php.
| static eZCollaborationItem::create | ( | $ | typeIdentifier, |
| $ | creatorID, | ||
| $ | status = self::STATUS_ACTIVE |
||
| ) | [static] |
Definition at line 113 of file ezcollaborationitem.php.
Referenced by eZApproveCollaborationHandler\createApproval(), createNotificationEvent(), and fetchListTool().
| eZCollaborationItem::createNotificationEvent | ( | $ | subType = false | ) |
Creates a collaboration notification event and stores it. subType can be used to specify a sub type of this collaboration item.
Definition at line 130 of file ezcollaborationitem.php.
Definition at line 154 of file ezcollaborationitem.php.
| static eZCollaborationItem::definition | ( | ) | [static] |
Returns the definition for the object, the default implementation is to return an empty array.
It's upto each inheriting class to return a proper definition array.
The definition array is an associative array consists of these keys:
Example: public static function definition() { return array( "fields" => array( "id" => "ID", "version" => "Version", "name" => "Name" ), "keys" => array( "id", "version" ), "function_attributes" => array( "current" => "currentVersion", "class_name" => "className" ), "increment_key" => "id", "class_name" => "eZContentClass", "sort" => array( "id" => "asc" ), "name" => "ezcontentclass" ); }
Reimplemented from eZPersistentObject.
Definition at line 31 of file ezcollaborationitem.php.
Referenced by fetch().
| static eZCollaborationItem::fetch | ( | $ | id, |
| $ | creatorID = false, |
||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 143 of file ezcollaborationitem.php.
Referenced by eZApproveCollaborationHandler\activateApproval(), eZApproveCollaborationHandler\checkApproval(), eZApproveType\checkApproveCollaboration(), creator(), eZCollaborationEventType\eventContent(), and userStatus().
| static eZCollaborationItem::fetchList | ( | $ | parameters = array() | ) | [static] |
Definition at line 339 of file ezcollaborationitem.php.
Referenced by eZCollaborationFunctionCollection\fetchItemList(), and eZCollaborationGroup\itemList().
| static eZCollaborationItem::fetchListCount | ( | $ | parameters = array() | ) | [static] |
Definition at line 278 of file ezcollaborationitem.php.
Referenced by eZCollaborationFunctionCollection\fetchItemCount().
| static eZCollaborationItem::fetchListTool | ( | $ | parameters = array(), |
| $ | asCount | ||
| ) | [static] |
Definition at line 344 of file ezcollaborationitem.php.
Referenced by fetchList(), and fetchListCount().
Definition at line 183 of file ezcollaborationitem.php.
Referenced by content(), contentAttribute(), handleView(), hasContentAttribute(), messageCount(), title(), unreadMessageCount(), and useMessages().
| eZCollaborationItem::handleView | ( | $ | viewMode | ) |
Definition at line 497 of file ezcollaborationitem.php.
| eZCollaborationItem::hasContentAttribute | ( | $ | attribute | ) |
Definition at line 252 of file ezcollaborationitem.php.
Definition at line 163 of file ezcollaborationitem.php.
Definition at line 206 of file ezcollaborationitem.php.
Definition at line 172 of file ezcollaborationitem.php.
| eZCollaborationItem::setIsActive | ( | $ | active, |
| $ | userID = false |
||
| ) |
Definition at line 272 of file ezcollaborationitem.php.
| eZCollaborationItem::setLastRead | ( | $ | userID = false, |
| $ | timestamp = false |
||
| ) |
Definition at line 327 of file ezcollaborationitem.php.
Definition at line 241 of file ezcollaborationitem.php.
Definition at line 221 of file ezcollaborationitem.php.
Definition at line 192 of file ezcollaborationitem.php.
Definition at line 177 of file ezcollaborationitem.php.
| eZCollaborationItem::$Created |
Definition at line 530 of file ezcollaborationitem.php.
| eZCollaborationItem::$CreatorID |
Definition at line 528 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataFloat1 |
Definition at line 538 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataFloat2 |
Definition at line 539 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataFloat3 |
Definition at line 540 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataInt1 |
Definition at line 535 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataInt2 |
Definition at line 536 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataInt3 |
Definition at line 537 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataText1 |
Definition at line 532 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataText2 |
Definition at line 533 of file ezcollaborationitem.php.
| eZCollaborationItem::$DataText3 |
Definition at line 534 of file ezcollaborationitem.php.
| eZCollaborationItem::$ID |
Definition at line 526 of file ezcollaborationitem.php.
| eZCollaborationItem::$Modified |
Definition at line 531 of file ezcollaborationitem.php.
| eZCollaborationItem::$Status |
Definition at line 529 of file ezcollaborationitem.php.
| eZCollaborationItem::$TypeIdentifier |
Definition at line 527 of file ezcollaborationitem.php.
| const eZCollaborationItem::STATUS_ACTIVE = 1 |
Definition at line 19 of file ezcollaborationitem.php.
Referenced by eZApproveCollaborationHandler\activateApproval().
| const eZCollaborationItem::STATUS_ARCHIVE = 3 |
Definition at line 21 of file ezcollaborationitem.php.
| const eZCollaborationItem::STATUS_INACTIVE = 2 |
Definition at line 20 of file ezcollaborationitem.php.
Referenced by eZApproveCollaborationHandler\handleCustomAction().