5include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   26                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   31                $this->
addColumn($this->lng->txt(
"user"), 
"user");
 
   32                $this->
addColumn($this->lng->txt(
"question"), 
"");
 
   33                $this->
addColumn($this->lng->txt(
"page"), 
"page_title");
 
   34                $this->
addColumn($this->lng->txt(
"cont_last_try"), 
"last_try");
 
   35                $this->
addColumn($this->lng->txt(
"cont_unlocked"));
 
   38                $this->
setRowTemplate(
"tpl.blocked_users.html", 
"Modules/LearningModule");
 
   40                $this->
addMultiCommand(
"sendMailToBlockedUsers", $lng->txt(
"send_mail"));
 
   41                $this->
addMultiCommand(
"resetNumberOfTries", $lng->txt(
"cont_reset_nr_of_tries"));
 
   42                $this->
addMultiCommand(
"unlockQuestion", $lng->txt(
"cont_unlock_allow_continue"));
 
   53                include_once(
"./Modules/LearningModule/classes/class.ilLMTracker.php");
 
   56                return $bl_users = $track->getBlockedUsersInformation();
 
   66                $this->tpl->setVariable(
"USER_QUEST_ID", $a_set[
"qst_id"].
":".$a_set[
"user_id"]);
 
   67                $this->tpl->setVariable(
"USER_NAME", $a_set[
"user_name"]);
 
   68                $this->tpl->setVariable(
"QUESTION", $a_set[
"question_text"]);
 
   69                $this->tpl->setVariable(
"PAGE", $a_set[
"page_title"]);
 
   70                $this->tpl->setVariable(
"LAST_TRY", $a_set[
"last_try"]);
 
   71                $this->tpl->setVariable(
"IGNORE_FAIL", ($a_set[
"unlocked"] ? 
$lng->txt(
"yes") : 
$lng->txt(
"no")));
 
__construct($a_parent_obj, $a_parent_cmd, $a_lm)
Constructor.
getBlockedUsers()
Get blocked users.
fillRow($a_set)
Fill table row.
static getInstance($a_ref_id, $a_user_id=0)
Get instance.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.