You are here

function mailhandler_plugin_load_class in Mailhandler 6.2

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

Wrapper to load any class type.

9 calls to mailhandler_plugin_load_class()
MailhandlerImportBatch::getRaw in plugins/feeds/plugins/MailhandlerFetcher.class.php
Implementation of FeedsImportBatch::getRaw();
MailhandlerParser::authenticate in plugins/feeds/plugins/MailhandlerParser.class.php
MailhandlerParser::commands in plugins/feeds/plugins/MailhandlerParser.class.php
MailhandlerParser::configForm in plugins/feeds/plugins/MailhandlerParser.class.php
Build configuration form.
MailhandlerParser::getMappingSources in plugins/feeds/plugins/MailhandlerParser.class.php
Declare the possible mapping sources that this parser produces.

... See full list

File

./mailhandler.module, line 138
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);
  }
}