eZPublish  3.8
eZSubtreeNotificationRule Class Reference

The class eZSubtreeNotificationRule does. More...

+ Inheritance diagram for eZSubtreeNotificationRule:
+ Collaboration diagram for eZSubtreeNotificationRule:

Public Member Functions

 create ($nodeID, $userID, $useDigest=0)
 
 definition ()
 
 eZSubtreeNotificationRule ($row)
 
 fetchList ($userID, $asObject=true, $offset=false, $limit=false)
 
 fetchListCount ($userID)
 
 fetchNodesForUserID ($userID, $asObject=true)
 
 fetchUserList ($nodeIDList, $contentObject)
 
node ()
 
 removeByNodeAndUserID ($userID, $nodeID)
 
- Public Member Functions inherited from eZPersistentObject
attribute ($attr, $noFunction=false)
 
 attributes ()
 
 conditionText (&$conditions)
 
conditionTextByRow (&$conditions, &$row)
 
 definition ()
 
escapeArray (&$array)
 
 eZPersistentObject ($row)
 
 fetchObject (&$def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
 fetchObjectList (&$def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null)
 
 fill (&$row)
 
 getShortAttributeName (&$db, &$def, $attrName)
 
 handleRows (&$rows, $class_name, $asObject)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 newObjectOrder (&$def, $orderField, $conditions)
 
 remove ($conditions=null, $extraConditions=null)
 
 removeObject (&$def, $conditions=null, $extraConditions=null)
 
 reorderObject (&$def, $orderField, $conditions, $down=true)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 swapRow ($table, &$keys, &$order_id, &$rows, $id1, $id2)
 
 sync ($fieldFilters=null)
 
 updateObjectList ($parameters)
 

Static Public Member Functions

 cleanup ()
 
 removeByUserID ($userID)
 

Public Attributes

 $Node = null
 

Private Member Functions

 checkObjectAccess ($contentObject, $policyID, $userIDArray, $userLimits=false)
 

Detailed Description

The class eZSubtreeNotificationRule does.

Member Function Documentation

eZSubtreeNotificationRule::checkObjectAccess (   $contentObject,
  $policyID,
  $userIDArray,
  $userLimits = false 
)
private

Check access for specified policy on object, and user list.

Parameters
Contentobject
policyID
userIDarray
userlimits
Returns
array of user ID's which has access to object

Referenced by fetchUserList().

eZSubtreeNotificationRule::cleanup ( )
static

Cleans up all notification rules for all users.

Referenced by eZSubTreeHandler\cleanup().

eZSubtreeNotificationRule::create (   $nodeID,
  $userID,
  $useDigest = 0 
)
eZSubtreeNotificationRule::eZSubtreeNotificationRule (   $row)

Constructor

Referenced by create().

eZSubtreeNotificationRule::fetchList (   $userID,
  $asObject = true,
  $offset = false,
  $limit = false 
)
eZSubtreeNotificationRule::fetchListCount (   $userID)
eZSubtreeNotificationRule::fetchNodesForUserID (   $userID,
  $asObject = true 
)
eZSubtreeNotificationRule::fetchUserList (   $nodeIDList,
  $contentObject 
)

Fetch allowed subtreenotification rules based upon node id list and array pf nodes

Parameters
nodeid list for notification event.
contentobject to add
Returns
array of eZSubtreeNotificationRule objects

Referenced by eZSubTreeHandler\handlePublishEvent().

& eZSubtreeNotificationRule::node ( )
eZSubtreeNotificationRule::removeByNodeAndUserID (   $userID,
  $nodeID 
)
eZSubtreeNotificationRule::removeByUserID (   $userID)
static

Remove notifications by user id

Parameters
userID

Referenced by eZUser\removeUser().

Member Data Documentation

eZSubtreeNotificationRule::$Node = null

Referenced by node().


The documentation for this class was generated from the following file: