You are here

public function LingotekSession::canLogIn in Lingotek Translation 7.5

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

File

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

Class

LingotekSession

Code

public function canLogIn() {
  if (!$this
    ->isLoggedIn()) {
    $this
      ->login();
  }
  return $this
    ->isLoggedIn();
}