5 include_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();
46 $lng = $DIC->language();
47 $ilAccess = $DIC->access();
48 $lng = $DIC->language();
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");
81 $language =
$lng->txt(
"meta_l_" . $a_set[
"lang"]);
82 $this->tpl->setVariable(
"LANGUAGE", $language);
84 $this->tpl->parseCurrentBlock();
86 $this->tpl->setVariable(
"FILENAME", $a_set[
"filename"]);
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 public
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
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.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
fillRow($a_set)
Fill table row.
setLimit($a_limit=0, $a_default_limit=0)