function LingotekSession::__construct in Lingotek Translation 6
Same name and namespace in other branches
- 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()
- 7.6 lingotek.session.inc \LingotekSession::__construct()
File
- ./
lingotek.session.inc, line 25 - Handles api calls, logging in and logging out of LingoTek
Class
Code
function __construct() {
$this->url = variable_get('lingotek_url', 'http://myaccount.lingotek.com') . "/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', '');
}