eZPublish  4.4
eZSubtreeNotificationRule Class Reference

The class eZSubtreeNotificationRule does. More...

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

Public Member Functions

 eZSubtreeNotificationRule ($row)
 
 node ()
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

static cleanup ()
 
static create ($nodeID, $userID, $useDigest=0)
 
static definition ()
 
static fetchList ($userID, $asObject=true, $offset=false, $limit=false)
 
static fetchListCount ($userID)
 
static fetchNodesForUserID ($userID, $asObject=true)
 
static fetchUserList ($nodeIDList, $contentObject)
 Fetch allowed subtreenotification rules based on node_id list and a content object. More...
 
static removeByNodeAndUserID ($userID, $nodeID)
 
static removeByUserID ($userID)
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Public Attributes

 $Node = null
 
- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Static Private Member Functions

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

Detailed Description

The class eZSubtreeNotificationRule does.

Member Function Documentation

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

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().

static eZSubtreeNotificationRule::cleanup ( )
static

Cleans up all notification rules for all users.

Referenced by eZSubTreeHandler\cleanup().

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

Constructor

Referenced by create().

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

Fetch allowed subtreenotification rules based on node_id list and a content object.

Parameters
array$nodeIDListnode id list for notification event
eZContentObjectcontent object to add
Returns
array matching subtree notification rule data

Referenced by eZSubTreeHandler\handlePublishEvent().

eZSubtreeNotificationRule::node ( )
static eZSubtreeNotificationRule::removeByNodeAndUserID (   $userID,
  $nodeID 
)
static
static 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: