function Notifications_Event::__construct in Notifications 6.4
Same name and namespace in other branches
- 7 notifications.event.inc \Notifications_Event::__construct()
Constructor
Overrides Messaging_Object::__construct
File
- includes/
notifications_event.class.inc, line 56 - Drupal Notifications Framework - Default class file
Class
- Notifications_Event
- Message destination class
Code
function __construct($object = NULL) {
parent::__construct($object);
if (!isset($this->created)) {
$this->created = time();
}
if (!isset($this->typekey)) {
$this->typekey = $this->type . '-' . $this->action;
}
}