4 include_once
'./Services/Table/classes/class.ilTable2GUI.php';
27 $this->team = $a_team;
29 parent::__construct($a_parent_obj, $a_parent_cmd);
31 $this->
setTitle($this->lng->txt(
"exc_team_log"));
33 $this->
addColumn($this->lng->txt(
"date"),
"tstamp");
34 $this->
addColumn($this->lng->txt(
"user"),
"user");
35 $this->
addColumn($this->lng->txt(
"details"),
"details");
40 $this->
setRowTemplate(
"tpl.exc_team_log_row.html",
"Modules/Exercise");
41 $this->
setFormAction($ilCtrl->getFormAction($a_parent_obj, $a_parent_cmd));
53 foreach($this->team->getLog() as $item)
55 switch($item[
"action"])
58 $mess =
"create_team";
66 $mess =
"remove_member";
74 $mess =
"remove_file";
78 $details = $this->lng->txt(
"exc_team_log_".$mess);
81 $details = sprintf($details, $item[
"details"]);
85 "tstamp" => $item[
"tstamp"],
103 $this->tpl->setVariable(
"TSTAMP", $date);
104 $this->tpl->setVariable(
"TXT_USER", $a_set[
"user"]);
105 $this->tpl->setVariable(
"TXT_DETAILS", $a_set[
"details"]);
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
const TEAM_LOG_REMOVE_MEMBER
List all log entries of team.
static _lookupFullname($a_user_id)
Lookup Full Name.
Exercise assignment team.
__construct($a_parent_obj, $a_parent_cmd, ilExAssignmentTeam $a_team)
Constructor.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
const TEAM_LOG_REMOVE_FILE
static formatDate(ilDateTime $date)
Format a date public.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
Create styles array
The data for the language used.
getItems()
Get all completed tests.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
const TEAM_LOG_CREATE_TEAM
const TEAM_LOG_ADD_MEMBER
fillRow($a_set)
Fill template row.