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