4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
24 public function __construct($a_parent_obj, $a_parent_cmd, $a_slm)
28 $this->ctrl = $DIC->ctrl();
29 $this->lng = $DIC->language();
30 $this->access = $DIC->access();
32 $lng = $DIC->language();
33 $ilAccess = $DIC->access();
34 $lng = $DIC->language();
37 parent::__construct($a_parent_obj, $a_parent_cmd);
38 $this->getSpecialPages();
43 $this->
addColumn($this->lng->txt(
"cont_purpose"));
44 $this->
addColumn($this->lng->txt(
"actions"));
48 $this->
setRowTemplate(
"tpl.scorm_sp_row.html",
"Modules/Scorm2004");
65 "ilscorm2004pagenodegui",
69 $this->tpl->setCurrentBlock(
"action");
70 $this->tpl->setVariable(
72 $ilCtrl->getLinkTargetByClass(
"ilscorm2004pagenodegui",
"edit")
74 $this->tpl->setVariable(
78 $this->tpl->parseCurrentBlock();
80 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"page_id"]);
81 $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.
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.
setEnableHeader($a_enableheader)
Set Enable Header.
setLimit($a_limit=0, $a_default_limit=0)