You are here

public function ServicesClientPlugin::__construct in Services Client 7.2

Same name and namespace in other branches
  1. 7 include/plugin.inc \ServicesClientPlugin::__construct()

Constructor.

Parameters

stdClass $event: Event DB record.

array $config: Plugin configuration.

3 calls to ServicesClientPlugin::__construct()
EventHandler::__construct in include/event.inc
Constructor.
ServicesClientConditionPlugin::__construct in include/condition.inc
Constructor.
ServicesClientMapperPlugin::__construct in include/mapping.inc
Constructor.
3 methods override ServicesClientPlugin::__construct()
EventHandler::__construct in include/event.inc
Constructor.
ServicesClientConditionPlugin::__construct in include/condition.inc
Constructor.
ServicesClientMapperPlugin::__construct in include/mapping.inc
Constructor.

File

include/plugin.inc, line 79
Base plugin definitions. All other plugins should be extended from this set of plugins.

Class

ServicesClientPlugin
Base plugin class

Code

public function __construct($event, $config) {

  // Store configuration and connection definition
  $this->event = $event;
  $this->config = $config;
}