function LingotekSession::__construct in Lingotek Translation 7.6
Same name and namespace in other branches
- 6 lingotek.session.inc \LingotekSession::__construct()
- 7.7 lingotek.session.inc \LingotekSession::__construct()
- 7.2 lingotek.session.inc \LingotekSession::__construct()
- 7.3 lingotek.session.inc \LingotekSession::__construct()
- 7.4 lingotek.session.inc \LingotekSession::__construct()
- 7.5 lingotek.session.inc \LingotekSession::__construct()
File
- ./
lingotek.session.inc, line 34 - Handles api calls, logging in and logging out of LingoTek
Class
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', '');
}