|
eZ Publish
[trunk]
|
The class eZCollaborationItemParticipantLink does. More...
Inheritance diagram for eZCollaborationItemParticipantLink:
Collaboration diagram for eZCollaborationItemParticipantLink:Public Member Functions | |
| collaborationItem () | |
| eZCollaborationItemParticipantLink ($row) | |
| isBuiltinRole () | |
| isBuiltinType () | |
| participant () | |
| participantRoleString () | |
| participantTypeString () | |
Static Public Member Functions | |
| static | create ($collaborationID, $participantID, $participantRole=self::ROLE_STANDARD, $participantType=self::TYPE_USER) |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetch ($collaborationID, $participantID, $asObject=true) |
| static | fetchParticipantList ($parameters=array()) |
| static | fetchParticipantMap ($originalParameters=array()) |
| static | roleName ($collaborationID, $roleID) |
| static | roleString ($participantRole) |
| static | setLastRead ($collaborationID, $userID=false, $timestamp=false) |
| static | typeString ($participantType) |
Public Attributes | |
| $CollaborationID | |
| $Created | |
| $IsActive | |
| $IsRead | |
| $Modified | |
| $ParticipantID | |
| $ParticipantType | |
| const | ROLE_APPROVER = 4 |
| const | ROLE_AUTHOR = 5 |
| const | ROLE_CUSTOM = 1024 |
| const | ROLE_OBSERVER = 2 |
| const | ROLE_OWNER = 3 |
| const | ROLE_STANDARD = 1 |
| const | TYPE_CUSTOM = 1024 |
| const | TYPE_USER = 1 |
| const | TYPE_USERGROUP = 2 |
The class eZCollaborationItemParticipantLink does.
Definition at line 17 of file ezcollaborationitemparticipantlink.php.
Definition at line 283 of file ezcollaborationitemparticipantlink.php.
| static eZCollaborationItemParticipantLink::create | ( | $ | collaborationID, |
| $ | participantID, | ||
| $ | participantRole = self::ROLE_STANDARD, |
||
| $ | participantType = self::TYPE_USER |
||
| ) | [static] |
Definition at line 89 of file ezcollaborationitemparticipantlink.php.
Referenced by eZApproveCollaborationHandler\createApproval().
| static eZCollaborationItemParticipantLink::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 42 of file ezcollaborationitemparticipantlink.php.
Referenced by fetch(), and fetchParticipantList().
Constructor
Definition at line 37 of file ezcollaborationitemparticipantlink.php.
Referenced by create().
| static eZCollaborationItemParticipantLink::fetch | ( | $ | collaborationID, |
| $ | participantID, | ||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 125 of file ezcollaborationitemparticipantlink.php.
Referenced by collaborationItem(), eZCollaborationFunctionCollection\fetchParticipant(), participant(), participantRoleString(), participantTypeString(), and roleName().
| static eZCollaborationItemParticipantLink::fetchParticipantList | ( | $ | parameters = array() | ) | [static] |
Definition at line 139 of file ezcollaborationitemparticipantlink.php.
Referenced by eZApproveCollaborationHandler\activateApproval(), fetchParticipantMap(), eZCollaborationItemHandler\handleCollaborationEvent(), eZApproveCollaborationHandler\handleCustomAction(), and eZCollaborationItem\participantList().
| static eZCollaborationItemParticipantLink::fetchParticipantMap | ( | $ | originalParameters = array() | ) | [static] |
Definition at line 185 of file ezcollaborationitemparticipantlink.php.
Definition at line 328 of file ezcollaborationitemparticipantlink.php.
Definition at line 323 of file ezcollaborationitemparticipantlink.php.
Definition at line 288 of file ezcollaborationitemparticipantlink.php.
Definition at line 312 of file ezcollaborationitemparticipantlink.php.
Definition at line 301 of file ezcollaborationitemparticipantlink.php.
| static eZCollaborationItemParticipantLink::roleName | ( | $ | collaborationID, |
| $ | roleID | ||
| ) | [static] |
Definition at line 257 of file ezcollaborationitemparticipantlink.php.
Referenced by fetchParticipantMap().
| static eZCollaborationItemParticipantLink::roleString | ( | $ | participantRole | ) | [static] |
Definition at line 237 of file ezcollaborationitemparticipantlink.php.
Referenced by participantRoleString().
| static eZCollaborationItemParticipantLink::setLastRead | ( | $ | collaborationID, |
| $ | userID = false, |
||
| $ | timestamp = false |
||
| ) | [static] |
Definition at line 105 of file ezcollaborationitemparticipantlink.php.
| static eZCollaborationItemParticipantLink::typeString | ( | $ | participantType | ) | [static] |
Definition at line 223 of file ezcollaborationitemparticipantlink.php.
Referenced by participantTypeString().
| eZCollaborationItemParticipantLink::$CollaborationID |
Definition at line 334 of file ezcollaborationitemparticipantlink.php.
| eZCollaborationItemParticipantLink::$Created |
Definition at line 339 of file ezcollaborationitemparticipantlink.php.
| eZCollaborationItemParticipantLink::$IsActive |
Definition at line 338 of file ezcollaborationitemparticipantlink.php.
| eZCollaborationItemParticipantLink::$IsRead |
Definition at line 337 of file ezcollaborationitemparticipantlink.php.
| eZCollaborationItemParticipantLink::$Modified |
Definition at line 340 of file ezcollaborationitemparticipantlink.php.
| eZCollaborationItemParticipantLink::$ParticipantID |
Definition at line 335 of file ezcollaborationitemparticipantlink.php.
| eZCollaborationItemParticipantLink::$ParticipantType |
Definition at line 336 of file ezcollaborationitemparticipantlink.php.
Definition at line 28 of file ezcollaborationitemparticipantlink.php.
Referenced by eZApproveCollaborationHandler\createApproval(), eZApproveCollaborationHandler\handleCustomAction(), and eZApproveCollaborationHandler\notificationParticipantTemplate().
Definition at line 29 of file ezcollaborationitemparticipantlink.php.
Referenced by eZApproveCollaborationHandler\createApproval(), and eZApproveCollaborationHandler\notificationParticipantTemplate().
| const eZCollaborationItemParticipantLink::ROLE_CUSTOM = 1024 |
Definition at line 32 of file ezcollaborationitemparticipantlink.php.
Referenced by isBuiltinRole().
Definition at line 26 of file ezcollaborationitemparticipantlink.php.
Definition at line 27 of file ezcollaborationitemparticipantlink.php.
Definition at line 25 of file ezcollaborationitemparticipantlink.php.
| const eZCollaborationItemParticipantLink::TYPE_CUSTOM = 1024 |
Definition at line 23 of file ezcollaborationitemparticipantlink.php.
Referenced by isBuiltinType().
Definition at line 19 of file ezcollaborationitemparticipantlink.php.
Referenced by eZApproveCollaborationHandler\createApproval(), and eZCollaborationItemHandler\handleCollaborationEvent().
Definition at line 20 of file ezcollaborationitemparticipantlink.php.