You are here

function messaging_store in Messaging 6

Same name and namespace in other branches
  1. 5 messaging.module \messaging_store()
  2. 6.4 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

16 calls to messaging_store()
Messaging_API_Tests::testMessagingBasicAPI in tests/messaging_api.test
Exercise basic API functions
Messaging_API_Tests::testMessagingSendingAPI 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_aftersend in ./messaging.module
Message default after send callback: store, log, etc..

... See full list

4 string references to 'messaging_store'
messaging_store_save in ./messaging.store.inc
Put into database storage, create one line for each destination
messaging_update_2 in ./messaging.install
Create queue storage
messaging_update_6003 in ./messaging.install
Update schema field
messaging_update_6004 in ./messaging.install
update messaging store to add in indexes

File

./messaging.module, line 764

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);
}