30        $this->lng = $language;
 
   38        if (!$this->sessionReminder->isActive()) {
 
   43        ilYuiUtil::initCookie();
 
   45        $this->page->addJavaScript(
'./Services/Authentication/js/session_reminder.js');
 
   47        $url = 
'./sessioncheck.php?client_id=' . 
CLIENT_ID . 
'&lang=' . $this->lng->getLangKey();
 
   48        $devMode = defined(
'DEVMODE') && DEVMODE ? 1 : 0;
 
   49        $clientId = defined(
'CLIENT_ID') ? 
CLIENT_ID : 
'';
 
   50        $sessionId = session_id();
 
   51        $sessionHash = md5($sessionId);
 
   55    $(
"body").ilSessionReminder({
 
   57        client_id: 
"$clientId",
 
   65        $this->page->addOnLoadCode($javascript);
 
An exception for terminatinating execution or to throw for unit testing.
__construct(ilSessionReminder $sessionReminder, ilGlobalTemplateInterface $page, \ilLanguage $language)
static initjQuery(ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery JS-File to the global or a passed template