5include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
 
   41        $this->ctrl = 
$DIC->ctrl();
 
   42        $this->lng = 
$DIC->language();
 
   43        $this->access = 
$DIC->access();
 
   44        $this->
user = $DIC->user();
 
   47        $ilAccess = 
$DIC->access();
 
   51        $this->mob = $a_parent_obj->object;
 
   52        $lng->loadLanguageModule(
"meta");
 
   54        $this->
setId(
"mob_msrt_upload");
 
   55        parent::__construct($a_parent_obj, $a_parent_cmd);
 
   57        $this->
setData($this->mob->getMultiSrtFiles());
 
   62        $this->
addColumn($this->lng->txt(
"filename"), 
"filename");
 
   63        $this->
addColumn($this->lng->txt(
"language"), 
"language");
 
   66        $this->
setRowTemplate(
"tpl.multi_srt_confirmation_row.html", 
"Services/MediaObjects");
 
   79        if ($a_set[
"lang"] != 
"") {
 
   80            $this->tpl->setCurrentBlock(
"cb");
 
   82            $this->tpl->setVariable(
"LANGUAGE", 
$language);
 
   84            $this->tpl->parseCurrentBlock();
 
   86        $this->tpl->setVariable(
"FILENAME", $a_set[
"filename"]);
 
An exception for terminatinating execution or to throw for unit testing.
List srt files from zip file for upload confirmation.
fillRow($a_set)
Fill table row.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setSelectAllCheckbox($a_select_all_checkbox, $a_select_all_on_top=false)
Set the name of the checkbox that should be toggled with a select all button.
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.
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.
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