4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
5 include_once(
"./Services/Help/classes/class.ilHelpMapping.php");
29 public function __construct($a_parent_obj, $a_parent_cmd, $a_validation =
false)
33 $this->ctrl = $DIC->ctrl();
34 $this->lng = $DIC->language();
35 $this->access = $DIC->access();
37 $lng = $DIC->language();
38 $ilAccess = $DIC->access();
39 $lng = $DIC->language();
41 $this->
setId(
"lm_help_map");
42 $this->validation = $a_validation;
44 parent::__construct($a_parent_obj, $a_parent_cmd);
45 include_once(
"./Modules/LearningModule/classes/class.ilLMPageObject.php");
51 $this->
addColumn($this->lng->txt(
"st"),
"title");
52 $this->
addColumn($this->lng->txt(
"cont_screen_ids"));
55 $this->
setRowTemplate(
"tpl.help_map_row.html",
"Modules/LearningModule");
71 $lm_tree = $this->parent_obj->object->getTree();
73 if ($hc > 0 && $lm_tree->isInTree($hc)) {
76 $chaps = $lm_tree->getFilteredSubTree($hc, array(
"pg"));
93 $this->tpl->setVariable(
"VAL_TITLE", $a_set[
"title"]);
94 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"obj_id"]);
98 $this->tpl->setVariable(
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
static getChapterList($a_lm_id)
export (sub)structure objects of structure object (see ilias_co.dtd)
getChapters()
Get chapters.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
fillRow($a_set)
Fill table row.
static get($a_var)
Get a value.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
static getScreenIdsOfChapter($a_chap, $a_module_id=0)
Get screen ids of chapter.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
__construct($a_parent_obj, $a_parent_cmd, $a_validation=false)
Constructor.
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.