You are here

function messaging_simple_messaging in Messaging 7

Same name and namespace in other branches
  1. 5 messaging_simple/messaging_simple.module \messaging_simple_messaging()
  2. 6.4 messaging_simple/messaging_simple.module \messaging_simple_messaging()
  3. 6 messaging_simple/messaging_simple.module \messaging_simple_messaging()
  4. 6.2 messaging_simple/messaging_simple.module \messaging_simple_messaging()
  5. 6.3 messaging_simple/messaging_simple.module \messaging_simple_messaging()

Implementation of hook_messaging

File

messaging_simple/messaging_simple.module, line 17
Simple messaging using html page. Messaging method plug-in

Code

function messaging_simple_messaging($op = 'info') {
  switch ($op) {
    case 'send methods':
      $info['simple'] = array(
        'title' => t('Simple'),
        'class' => 'Messaging_Simple_Method',
        'name' => t('Web'),
        'description' => t('Display messages on the site in your Messages page.'),
      );
      return $info;
  }
}