4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
30 $a_validation =
false,
35 $this->ctrl = $DIC->ctrl();
36 $this->lng = $DIC->language();
37 $this->access = $DIC->access();
40 $lng = $DIC->language();
43 $this->
setId(
"lm_expids");
46 parent::__construct($a_parent_obj, $a_parent_cmd);
47 include_once(
"./Modules/LearningModule/classes/class.ilLMPageObject.php");
52 $this->parent_obj->object->getId(),
58 $this->parent_obj->object->getId()
64 $this->
addColumn($this->lng->txt(
"pg"),
"title");
65 $this->
addColumn($this->lng->txt(
"cont_export_id"));
68 $this->
setRowTemplate(
"tpl.export_id_row.html",
"Modules/LearningModule");
82 $this->online_help_mode = $a_val;
102 $this->tpl->setVariable(
"VAL_TITLE", $a_set[
"title"]);
103 $this->tpl->setVariable(
"PAGE_ID", $a_set[
"obj_id"]);
106 $this->parent_obj->object->getId(),
114 trim(
$_POST[
"exportid"][$a_set[
"obj_id"]])
117 $this->tpl->setVariable(
119 " style='background-color: #FCEAEA;' " 121 $this->tpl->setVariable(
129 $this->tpl->setVariable(
136 $this->tpl->setVariable(
142 if ($this->cnt_exp_ids[$exp_id] > 1) {
143 $this->tpl->setVariable(
145 $lng->txt(
"cont_exp_id_used_multiple")
147 $this->tpl->setVariable(
154 if (!$this->dup_info_given) {
156 $this->dup_info_given =
true;
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
fillRow($a_set)
Fill table row.
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)
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
__construct( $a_parent_obj, $a_parent_cmd, $a_validation=false, $a_oh_mode=false)
Constructor.
getOnlineHelpMode()
Get online help mode.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
static getDuplicateExportIDs($a_lm_id, $a_type="pg")
Get duplicate export IDs (count export ID usages)
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
setOnlineHelpMode($a_val)
Set online help mode.
static getExportId($a_lm_id, $a_lmobj_id, $a_type="pg")
Get export ID.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
static img($a_src, $a_alt="", $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
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.
static getPageList($lm_id)
static