5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
32 $lng = $DIC->language();
37 $this->multi_srt = $a_parent_obj->multi_srt;
38 $this->lng->loadLanguageModule(
"meta");
40 $this->
setId(
"mob_msrt_upload");
41 parent::__construct($a_parent_obj, $a_parent_cmd);
43 $this->
setData($this->multi_srt->getMultiSrtFiles());
44 $this->
setTitle($this->lng->txt(
"cont_multi_srt_files"));
46 $this->
addColumn($this->lng->txt(
"filename"));
47 $this->
addColumn($this->lng->txt(
"language"));
50 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
51 $this->
setRowTemplate(
"tpl.mob_multi_srt_confirmation_row.html",
"Services/MediaObjects");
64 if ($a_set[
"lang"] !=
"") {
65 $language =
$lng->txt(
"meta_l_" . $a_set[
"lang"]);
66 $this->tpl->setVariable(
"LANGUAGE", $language);
68 if ($a_set[
"mob"] !=
"") {
69 $this->tpl->setVariable(
"MEDIA_OBJECT", $a_set[
"mob_title"]);
71 $this->tpl->setVariable(
"MEDIA_OBJECT",
"-");
73 $this->tpl->setVariable(
"FILENAME", $a_set[
"filename"]);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
fillRow($a_set)
Fill table row.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
List srt files from zip file for upload confirmation.
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)