|
eZ Publish
[trunk]
|
The class eZCollaborationNotificationRule does. More...
Inheritance diagram for eZCollaborationNotificationRule:
Collaboration diagram for eZCollaborationNotificationRule:Public Member Functions | |
| eZCollaborationNotificationRule ($row) | |
| user () | |
Static Public Member Functions | |
| static | cleanup () |
| static | create ($collaborationIdentifier, $userID=false) |
| static | definition () |
| Returns the definition for the object, the default implementation is to return an empty array. | |
| static | fetchItemTypeList ($collaborationIdentifier, $userIDList, $asObject=true) |
| static | fetchList ($userID=false, $asObject=true) |
| static | removeByIdentifier ($collaborationIdentifier, $userID=false) |
| static | removeByUserID ($userID) |
The class eZCollaborationNotificationRule does.
Definition at line 16 of file ezcollaborationnotificationrule.php.
| static eZCollaborationNotificationRule::cleanup | ( | ) | [static] |
Removes all notification rules for all collaboration items for all users.
Definition at line 108 of file ezcollaborationnotificationrule.php.
| static eZCollaborationNotificationRule::create | ( | $ | collaborationIdentifier, |
| $ | userID = false |
||
| ) | [static] |
Definition at line 56 of file ezcollaborationnotificationrule.php.
Referenced by eZCollaborationNotificationHandler\fetchHttpInput().
| static eZCollaborationNotificationRule::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 26 of file ezcollaborationnotificationrule.php.
Referenced by fetchItemTypeList(), fetchList(), removeByIdentifier(), and removeByUserID().
Constructor
Definition at line 21 of file ezcollaborationnotificationrule.php.
Referenced by create().
| static eZCollaborationNotificationRule::fetchItemTypeList | ( | $ | collaborationIdentifier, |
| $ | userIDList, | ||
| $ | asObject = true |
||
| ) | [static] |
Definition at line 73 of file ezcollaborationnotificationrule.php.
Referenced by eZCollaborationItemHandler\handleCollaborationEvent().
| static eZCollaborationNotificationRule::fetchList | ( | $ | userID = false, |
| $ | asObject = true |
||
| ) | [static] |
Definition at line 64 of file ezcollaborationnotificationrule.php.
Referenced by eZCollaborationNotificationHandler\collaborationSelections(), and eZCollaborationNotificationHandler\rules().
| static eZCollaborationNotificationRule::removeByIdentifier | ( | $ | collaborationIdentifier, |
| $ | userID = false |
||
| ) | [static] |
Definition at line 83 of file ezcollaborationnotificationrule.php.
Referenced by eZCollaborationNotificationHandler\fetchHttpInput().
| static eZCollaborationNotificationRule::removeByUserID | ( | $ | userID | ) | [static] |
Remove notifications by user id
| userID |
Definition at line 99 of file ezcollaborationnotificationrule.php.
Referenced by eZUser\removeUser().
Definition at line 51 of file ezcollaborationnotificationrule.php.