4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
20 $this->ref_id = $a_ref_id;
21 $this->
setId(
"admusrlp");
26 $this->
addColumn($this->lng->txt(
"login"),
"login");
27 $this->
addColumn($this->lng->txt(
"firstname"),
"firstname");
28 $this->
addColumn($this->lng->txt(
"lastname"),
"lastname");
29 $this->
addColumn($this->lng->txt(
"online_time"),
"online_time");
30 $this->
addColumn($this->lng->txt(
"last_login"),
"last_login");
34 $this->
setFormAction($ilCtrl->getFormAction($this->parent_obj));
36 $this->
setRowTemplate(
"tpl.user_list_lp_row.html",
"Services/User");
50 include_once(
"./Services/User/classes/class.ilUserQuery.php");
69 if (count($usr_data[
"set"]) == 0 && $this->
getOffset() > 0)
92 $this->
setData($usr_data[
"set"]);
94 include_once
'Services/Tracking/classes/class.ilObjUserTracking.php';
102 if ($this->lp_active)
104 $ilCtrl->setParameterByClass(
"illearningprogressgui",
"ref_id", $this->ref_id);
105 $ilCtrl->setParameterByClass(
"illearningprogressgui",
"obj_id", $user[
"usr_id"]);
106 $link = $ilCtrl->getLinkTargetByClass(array(
"ilobjusergui",
'illearningprogressgui'),
"");
108 $this->tpl->setCurrentBlock(
"login_link");
109 $this->tpl->setVariable(
"HREF_LOGIN", $link);
110 $this->tpl->setVariable(
"VAL_LOGIN", $user[
"login"]);
111 $this->tpl->parseCurrentBlock();
116 $this->tpl->setCurrentBlock(
"login_plain");
117 $this->tpl->setVariable(
"VAL_LOGIN_PLAIN", $user[
"login"]);
118 $this->tpl->parseCurrentBlock();
121 $this->tpl->setVariable(
"VAL_FIRSTNAME", $user[
"firstname"]);
122 $this->tpl->setVariable(
"VAL_LASTNAME", $user[
"lastname"]);
123 $this->tpl->setVariable(
"VAL_ONLINE_TIME",
125 $this->tpl->setVariable(
"VAL_LAST_LOGIN",
131 $a_worksheet->write($a_row, 0, $a_set[
"login"]);
132 $a_worksheet->write($a_row, 1, $a_set[
"firstname"]);
133 $a_worksheet->write($a_row, 2, $a_set[
"lastname"]);
134 $a_worksheet->write($a_row, 3,
136 $a_worksheet->write($a_row, 4,