eZPublish  4.5
eZNotificationEvent Class Reference

The class eZNotificationEvent does. More...

+ Inheritance diagram for eZNotificationEvent:
+ Collaboration diagram for eZNotificationEvent:

Public Member Functions

 content ()
 
 eventType ()
 
 eZNotificationEvent ($row=array())
 
 initializeEventType ($params=array())
 
 setContent ($content)
 
- 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 ($type, $params=array())
 
static definition ()
 
static fetch ($eventID)
 
static fetchList ($limit=null)
 Fetches notification events as objects, and returns them in an array. More...
 
static fetchUnhandledList ($limit=null)
 Fetches unhandled notification events as objects, and returns them in an array. More...
 
- 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

 $Content = null
 
const STATUS_CREATED = 0
 
const STATUS_HANDLED = 1
 
- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Detailed Description

The class eZNotificationEvent does.

Member Function Documentation

static eZNotificationEvent::cleanup ( )
static

Removes all notification events.

eZNotificationEvent::content ( )

Returns the content for this event.

static eZNotificationEvent::create (   $type,
  $params = array() 
)
static
static eZNotificationEvent::definition ( )
static
eZNotificationEvent::eventType ( )

Referenced by content(), and initializeEventType().

eZNotificationEvent::eZNotificationEvent (   $row = array())

Constructor

Referenced by create().

static eZNotificationEvent::fetch (   $eventID)
static
static eZNotificationEvent::fetchList (   $limit = null)
static

Fetches notification events as objects, and returns them in an array.

The optional $limit can be used to set an offset and a limit for the fetch. It is passed to eZPersistentObject::fetchObjectList() and should be used in the same way.

Parameters
array$limitAn associative array with limitiations, can contain
  • offset - Numerical value defining the start offset for the fetch
  • length - Numerical value defining the max number of items to return
Returns
array An array of eZNotificationEvent objects
static eZNotificationEvent::fetchUnhandledList (   $limit = null)
static

Fetches unhandled notification events as objects, and returns them in an array.

The optional $limit can be used to set an offset and a limit for the fetch. It is passed to eZPersistentObject::fetchObjectList() and should be used in the same way.

Parameters
array$limitAn associative array with limitiations, can contain
  • offset - Numerical value defining the start offset for the fetch
  • length - Numerical value defining the max number of items to return
Returns
array An array of eZNotificationEvent objects

Referenced by eZNotificationEventFilter\process().

eZNotificationEvent::initializeEventType (   $params = array())
eZNotificationEvent::setContent (   $content)

Sets the content for the current event

Member Data Documentation

eZNotificationEvent::$Content = null

Referenced by content().

const eZNotificationEvent::STATUS_CREATED = 0
const eZNotificationEvent::STATUS_HANDLED = 1

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