4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
24 parent::__construct($a_parent_obj, $a_parent_cmd);
25 $this->getSpecialPages();
26 $this->
setTitle($lng->txt(
"cont_special_pages"));
30 $this->
addColumn($this->lng->txt(
"cont_purpose"));
31 $this->
addColumn($this->lng->txt(
"actions"));
35 $this->
setRowTemplate(
"tpl.scorm_sp_row.html",
"Modules/Scorm2004");
39 $this->
addMultiCommand(
"confirmSpecialPageDeletion", $lng->txt(
"delete"));
50 $ilCtrl->setParameterByClass(
"ilscorm2004pagenodegui",
51 "obj_id", $a_set[
"page_id"]);
52 $this->tpl->setCurrentBlock(
"action");
53 $this->tpl->setVariable(
"HREF_CMD",
54 $ilCtrl->getLinkTargetByClass(
"ilscorm2004pagenodegui",
"edit"));
55 $this->tpl->setVariable(
"TXT_CMD",
57 $this->tpl->parseCurrentBlock();
59 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"page_id"]);
60 $this->tpl->setVariable(
"VAL_TITLE", $a_set[
"purpose"]);
Scorm special pages table.
__construct($a_parent_obj, $a_parent_cmd, $a_slm)
Constructor.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
fillRow($a_set)
Fill table row.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setEnableHeader($a_enableheader)
Set Enable Header.
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.
setLimit($a_limit=0, $a_default_limit=0)