4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
5 include_once(
"./Services/Help/classes/class.ilHelpMapping.php");
24 function __construct($a_parent_obj, $a_parent_cmd, $a_validation =
false)
28 $this->
setId(
"lm_help_map");
31 parent::__construct($a_parent_obj, $a_parent_cmd);
32 include_once(
"./Modules/LearningModule/classes/class.ilLMPageObject.php");
36 $this->
setTitle($lng->txt(
"help_assign_help_ids"));
38 $this->
addColumn($this->lng->txt(
"st"),
"title");
39 $this->
addColumn($this->lng->txt(
"cont_screen_ids"));
42 $this->
setRowTemplate(
"tpl.help_map_row.html",
"Modules/LearningModule");
58 $lm_tree = $this->parent_obj->object->getTree();
60 if ($hc > 0 && $lm_tree->isInTree($hc))
64 $chaps = $lm_tree->getFilteredSubTree($hc,
array(
"pg"));
83 $this->tpl->setVariable(
"VAL_TITLE", $a_set[
"title"]);
84 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"obj_id"]);
88 $this->tpl->setVariable(
"SCREEN_IDS",
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.
getScreenIdsOfChapter($a_chap, $a_module_id=0)
Get screen ids of chapter.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
Create styles array
The data for the language used.
__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.