You are here

function Notifications_Event::save in Notifications 7

Save full event

File

./notifications.event.inc, line 298
Drupal Notifications Framework - Default class file

Class

Notifications_Event
Notifications Event class

Code

function save() {

  // First of all, make sure we have a unique eid
  $this
    ->record();
  return db_update('notifications_event')
    ->condition('eid', $this->eid)
    ->fields(array(
    'data' => serialize($this),
  ))
    ->execute();
}