You are here

function clients_connection_drupal_services::__construct in Web Service Clients 7.2

Same name and namespace in other branches
  1. 6.2 connections/clients_drupal/clients_drupal.inc \clients_connection_drupal_services::__construct()
  2. 7.3 connections/clients_drupal/clients_drupal.inc \clients_connection_drupal_services::__construct()
  3. 7 backends/clients_drupal/clients_drupal.inc \clients_connection_drupal_services::__construct()

Constructor method.

Parameters

$object: An object of class stdClass returned from CTools.

Overrides clients_connection_base::__construct

File

connections/clients_drupal/clients_drupal.inc, line 18
Contains classes for Client connections handlers.

Class

clients_connection_drupal_services
Base class for Drupal client connections.

Code

function __construct($object) {

  // Call the base class to set the connection properties.
  parent::__construct($object);

  // Decrypt the password.
  $this->configuration['password'] = clients_drupal_decrypt($this->configuration['password']);
}