You are here

function mailhandler_filter in Mailhandler 6.2

Implementation of hook_filter().

File

./mailhandler.module, line 75
Retrieves email for posting as nodes and comments.

Code

function mailhandler_filter($op, $delta = 0, $format = -1, $text = '', $cache_id = 0) {
  switch ($op) {
    case 'list':
      return _mailhandler_filter_list();
    case 'description':
      return _mailhandler_filter_description($delta);
    case 'process':
      return _mailhandler_filter_process($delta, $format, $text, $cache_id);
    case 'settings':
      return _mailhandler_filter_settings($format);
    default:
      return $text;
  }
}