You are here

function clients_connection_drupal_services::__construct in Web Service Clients 7.3

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

Constructor method.

Overrides ClientsHandlerEntity::__construct

File

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

Class

clients_connection_drupal_services
Base class for Drupal client connections.

Code

function __construct(array $values = array(), $entityType = NULL) {

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

  // Decrypt the password.
  // TODO: move this to the loading of credentials.
  // Though nothing uses this any more!!!

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