You are here

public function AddThis::AddThis in Drupal Most Popular 6

Constructs a new AddThis class.

It will use the configured username and password.

File

modules/mostpopular_addthis/mostpopular_addthis.classes.inc, line 32
Provides a connector to the AddThis.com API.

Class

AddThis
@file Provides a connector to the AddThis.com API.

Code

public function AddThis() {
  $this->username = variable_get('addthis_username', NULL);
  $this->password = variable_get('addthis_password', NULL);
  $addthisConfig = variable_get('addthis_config', array());
  $this->pubid = $addthisConfig['pubid'];
}