You are here

public function ServicesClientConnectionPlugin::__construct in Services Client 7.2

Same name and namespace in other branches
  1. 7 services_client_connection/include/plugin.inc \ServicesClientConnectionPlugin::__construct()
1 call to ServicesClientConnectionPlugin::__construct()
ServicesClientConnectionRestServer::__construct in services_client_connection/plugins/ServicesClientConnectionRestServer.inc
Constructor
1 method overrides ServicesClientConnectionPlugin::__construct()
ServicesClientConnectionRestServer::__construct in services_client_connection/plugins/ServicesClientConnectionRestServer.inc
Constructor

File

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

Class

ServicesClientConnectionPlugin
Base plugin class

Code

public function __construct($connection, $config, $client = NULL) {

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