You are here

function messaging_store in Messaging 5

Same name and namespace in other branches
  1. 6.4 messaging.module \messaging_store()
  2. 6 messaging.module \messaging_store()
  3. 6.2 messaging.module \messaging_store()
  4. 6.3 messaging.module \messaging_store()
  5. 7 messaging.module \messaging_store()

Entry point for the storage API

9 calls to messaging_store()
Messaging_API_Tests::testMessagingBasicAPI in tests/messaging_api.test
Play with creating, retrieving, deleting a pair messages
messaging_cron in ./messaging.module
Implementation of hook_cron()
messaging_debug_user_page in messaging_debug/messaging_debug.module
Menu callback. Display pending messages to the user
messaging_message_send in ./messaging.module
Send message to array of destinations. The message is rendered just once.
Messaging_Methods_Tests::testMessagingMethods in tests/messaging_methods.test
Test message sending callbacks for enabled plug-ins

... See full list

File

./messaging.module, line 936

Code

function messaging_store() {
  static $include;
  if (!isset($include)) {
    require_once drupal_get_path('module', 'messaging') . '/messaging.store.inc';
    $include = TRUE;
  }
  $args = func_get_args();
  $function = 'messaging_store_' . array_shift($args);
  return call_user_func_array($function, $args);
}