You are here

function Messaging_Message::__construct in Messaging 7

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

Constructor, with predefined array of data

File

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

Class

Messaging_Message
Message class

Code

function __construct($data = array()) {
  foreach ($data as $key => $value) {
    $this->{$key} = $value;
  }
}