You are here

protected static function Messaging_Store::_message_load in Messaging 6.4

Load single message from store. No static cache.

1 call to Messaging_Store::_message_load()
Messaging_Store::message_load in includes/messaging_store.class.inc
Load single message from store / static cache

File

includes/messaging_store.class.inc, line 295
Database storage for the messaging framework

Class

Messaging_Store
Default storage and queueing system for Messaging

Code

protected static function _message_load($key) {
  if ($message = db_fetch_object(self::select_query('*', array(
    self::DB_KEY => $key,
  ), array(
    'limit' => 1,
  )))) {
    return self::message_unpack($message, TRUE);
  }
}