You are here

function LingotekSession::__construct in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 6 lingotek.session.inc \LingotekSession::__construct()
  2. 7.7 lingotek.session.inc \LingotekSession::__construct()
  3. 7.3 lingotek.session.inc \LingotekSession::__construct()
  4. 7.4 lingotek.session.inc \LingotekSession::__construct()
  5. 7.5 lingotek.session.inc \LingotekSession::__construct()
  6. 7.6 lingotek.session.inc \LingotekSession::__construct()

File

./lingotek.session.inc, line 34
Handles api calls, logging in and logging out of LingoTek

Class

LingotekSession

Code

function __construct() {
  $this->url = LINGOTEK_API_SERVER . "/lingopoint/api";
  $this->community = variable_get('lingotek_community', '');
  $this->login_id = variable_get('lingotek_login_id', '');
  $this->key = variable_get('lingotek_login_key', '');
  $this->password = variable_get('lingotek_password', '');
}