You are here

public function Messaging_Message::save in Messaging 7

Same name and namespace in other branches
  1. 6.4 includes/messaging_message.class.inc \Messaging_Message::save()
  2. 6.3 classes/messaging_message.class.inc \Messaging_Message::save()

Save message to store $name

File

./messaging.message.inc, line 670
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

public function save($name = 'store') {
  $this
    ->record();
  if ($store = messaging_store($name)) {
    return $store
      ->save_message($this);
  }
}