5 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
25 parent::__construct($a_parent_obj, $a_parent_cmd);
26 $this->
setData($a_mob->getSrtFiles());
27 $this->
setTitle($lng->txt(
"mob_subtitle_files"));
30 $this->
addColumn($this->lng->txt(
"mob_file"));
31 $this->
addColumn($this->lng->txt(
"mob_language"));
34 $this->
setRowTemplate(
"tpl.srt_files_row.html",
"Services/MediaObjects");
47 $this->tpl->setVariable(
"FILE_NAME", $a_set[
"full_path"]);
48 $this->tpl->setVariable(
"LANGUAGE", $lng->txt(
"meta_l_".$a_set[
"language"]));
49 $this->tpl->setVariable(
"LANG_KEY", $a_set[
"language"]);
TableGUI class for subtitle list.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
addMultiCommand($a_cmd, $a_text)
Add Command button.
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.
__construct($a_parent_obj, $a_parent_cmd, $a_mob)
Constructor.
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.