5include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   26                $this->mob = $a_parent_obj->object;
 
   27                $lng->loadLanguageModule(
"meta");
 
   29                $this->
setId(
"mob_msrt_upload");
 
   30                parent::__construct($a_parent_obj, $a_parent_cmd);
 
   32                $this->
setData($this->mob->getMultiSrtFiles());
 
   33                $this->
setTitle($lng->txt(
"mob_multi_srt_files"));
 
   37                $this->
addColumn($this->lng->txt(
"filename"), 
"filename");
 
   38                $this->
addColumn($this->lng->txt(
"language"), 
"language");
 
   41                $this->
setRowTemplate(
"tpl.multi_srt_confirmation_row.html", 
"Services/MediaObjects");
 
   54                if ($a_set[
"lang"] != 
"")
 
   56                        $this->tpl->setCurrentBlock(
"cb");
 
   57                        $language = 
$lng->txt(
"meta_l_".$a_set[
"lang"]);
 
   58                        $this->tpl->setVariable(
"LANGUAGE", $language);
 
   60                        $this->tpl->parseCurrentBlock();
 
   62                $this->tpl->setVariable(
"FILENAME", $a_set[
"filename"]);
 
List srt files from zip file for upload confirmation.
fillRow($a_set)
Fill table row.
__construct($a_parent_obj, $a_parent_cmd)
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.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setLimit($a_limit=0, $a_default_limit=0)
set max.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
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 @access public