You are here

function mailhandler_plugin_load_class in Mailhandler 7.2

Same name and namespace in other branches
  1. 6.2 mailhandler.module \mailhandler_plugin_load_class()

Wrapper to load any class type.

9 calls to mailhandler_plugin_load_class()
MailhandlerFetcherResult::getRaw in plugins/feeds/plugins/MailhandlerFetcher.class.php
Implementation of FeedsImportBatch::getRaw();
MailhandlerParser::authenticate in plugins/feeds/plugins/MailhandlerParser.class.php
Authenticate the message and set $message['authenticated_uid'].
MailhandlerParser::commands in plugins/feeds/plugins/MailhandlerParser.class.php
Parse and apply commands.
MailhandlerParser::configForm in plugins/feeds/plugins/MailhandlerParser.class.php
Build configuration form.
MailhandlerParser::getMappingSources in plugins/feeds/plugins/MailhandlerParser.class.php
This defines sources which user's can select to map values to.

... See full list

File

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

Code

function mailhandler_plugin_load_class($module, $plugin, $type, $id, $args = NULL) {
  ctools_include('plugins');
  if ($class = ctools_plugin_load_class($module, $type, $plugin, 'handler')) {
    return new $class($args);
  }
}