You are here

public function Messaging_Message::data_fields in Messaging 6.4

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

Get list of persistent fields to store or serialize.

All these must be public properties so it can be handled by storage mechanisms.

See also

_sleep()

1 call to Messaging_Message::data_fields()
Messaging_Message::__sleep in includes/messaging_message.class.inc

File

includes/messaging_message.class.inc, line 131
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

public function data_fields() {
  return array(
    'mqid',
    'type',
    'method',
    'uid',
    'language',
    'source',
    'params',
    'mdid',
    'destination',
    'destinations',
    'subject',
    'body',
    'files',
    'parts',
    'sender',
    'sender_name',
    'sender_address',
    'created',
    'sent',
    'queue',
    'send',
    'log',
    'cron',
    'built',
    'prepared',
    'rendered',
    'queued',
    'logged',
    'priority',
    'log_error',
    'error',
    'error_msg',
  );
}