|
eZ Publish
[4.2]
|
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) | |
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. | |
| static | fetchUnhandledList ($limit=null) |
| Fetches unhandled notification events as objects, and returns them in an array. | |
Public Attributes | |
| $Content = null | |
| const | STATUS_CREATED = 0 |
| const | STATUS_HANDLED = 1 |
The class eZNotificationEvent does.
Definition at line 39 of file eznotificationevent.php.
| static eZNotificationEvent::cleanup | ( | ) | [static] |
Removes all notification events.
Definition at line 213 of file eznotificationevent.php.
| eZNotificationEvent::content | ( | ) |
Returns the content for this event.
Definition at line 146 of file eznotificationevent.php.
| static eZNotificationEvent::create | ( | $ | type, |
| $ | params = array() |
||
| ) | [static] |
Definition at line 107 of file eznotificationevent.php.
Referenced by eventType().
| static eZNotificationEvent::definition | ( | ) | [static] |
The definition array is an associative array consists of these keys:
asc or desc.Example:
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 53 of file eznotificationevent.php.
Referenced by fetch(), fetchList(), and fetchUnhandledList().
| eZNotificationEvent::eventType | ( | ) |
Definition at line 133 of file eznotificationevent.php.
Referenced by content(), and initializeEventType().
| eZNotificationEvent::eZNotificationEvent | ( | $ | row = array() | ) |
| static eZNotificationEvent::fetch | ( | $ | eventID | ) | [static] |
Definition at line 183 of file eznotificationevent.php.
| 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.
| array | $limit | An associative array with limitiations, can contain
|
Definition at line 176 of file eznotificationevent.php.
| 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.
| array | $limit | An associative array with limitiations, can contain
|
Definition at line 202 of file eznotificationevent.php.
Referenced by eZNotificationEventFilter\process().
| eZNotificationEvent::initializeEventType | ( | $ | params = array() | ) |
Definition at line 126 of file eznotificationevent.php.
| eZNotificationEvent::setContent | ( | $ | content | ) |
Sets the content for the current event
Definition at line 159 of file eznotificationevent.php.
| eZNotificationEvent::$Content = null |
Definition at line 219 of file eznotificationevent.php.
| const eZNotificationEvent::STATUS_CREATED = 0 |
Definition at line 41 of file eznotificationevent.php.
| const eZNotificationEvent::STATUS_HANDLED = 1 |
Definition at line 42 of file eznotificationevent.php.
Referenced by eZNotificationEventFilter\process().