5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
26 $this->multi_srt = $a_parent_obj->multi_srt;
27 $lng->loadLanguageModule(
"meta");
29 $this->
setId(
"mob_msrt_upload");
30 parent::__construct($a_parent_obj, $a_parent_cmd);
32 $this->
setData($this->multi_srt->getMultiSrtFiles());
33 $this->
setTitle($lng->txt(
"cont_multi_srt_files"));
35 $this->
addColumn($this->lng->txt(
"filename"));
36 $this->
addColumn($this->lng->txt(
"language"));
40 $this->
setRowTemplate(
"tpl.multi_srt_confirmation_row.html",
"Modules/LearningModule");
53 if ($a_set[
"lang"] !=
"")
55 $language = $lng->txt(
"meta_l_".$a_set[
"lang"]);
56 $this->tpl->setVariable(
"LANGUAGE", $language);
58 if ($a_set[
"mob"] !=
"")
60 $this->tpl->setVariable(
"MEDIA_OBJECT", $a_set[
"mob_title"]);
64 $this->tpl->setVariable(
"MEDIA_OBJECT",
"-");
66 $this->tpl->setVariable(
"FILENAME", $a_set[
"filename"]);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
List srt files from zip file for upload confirmation.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
fillRow($a_set)
Fill table row.
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.
setLimit($a_limit=0, $a_default_limit=0)