4 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
20 $a_cmd =
"createExportFile",
25 parent::__construct($a_parent_obj, $a_parent_cmd);
26 $lng->loadLanguageModule(
"export");
28 if ($a_cmd_txt ==
"") {
29 $a_cmd_txt = $lng->txt(
"export_create_export_file");
32 $this->
addColumn($lng->txt(
"export_resource"));
33 $this->
addColumn($lng->txt(
"export_last_export"));
34 $this->
addColumn($lng->txt(
"export_last_export_file"),
"",
"20%");
35 $this->
addColumn($lng->txt(
"export_create_new_file"),
"",
"20%");
36 $this->
addColumn($lng->txt(
"export_omit_resource"),
"",
"20%");
40 "tpl.sub_item_selection_row.html",
43 $this->
setTitle($lng->txt(
"export_select_resources"));
44 include_once(
"./Services/Export/classes/class.ilExport.php");
59 $this->tpl->setVariable(
"IMG_ALT", $lng->txt(
"obj_" . $a_set[
"type"]));
65 $this->tpl->setVariable(
"VAL_TITLE", $a_set[
"title"]);
66 $this->tpl->setVariable(
"ID", $a_set[
"ref_id"]);
67 $this->tpl->setVariable(
"TXT_LAST_EXPORT_FILE", $lng->txt(
"export_last_file"));
68 $this->tpl->setVariable(
"TXT_OMIT", $lng->txt(
"export_omit"));
69 $this->tpl->setVariable(
"TXT_CREATE_NEW_EXPORT_FILE", $lng->txt(
"export_create"));
71 if ($a_set[
"timestamp"] > 0) {
73 $this->tpl->setVariable(
78 $preset =
"LAST_FILE";
81 $this->tpl->setVariable(
"SEL_" . $preset,
' checked="checked" ');
static _getIcon( $a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
Get icon for repository item.
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
fillRow($a_set)
Standard Version of Fill Row.
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false)
Format a date public.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
__construct( $a_parent_obj, $a_parent_cmd, $a_ref_id, $a_cmd="createExportFile", $a_cmd_txt="")
static _equals(ilDateTime $start, ilDateTime $end, $a_compare_field='', $a_tz='')
Check if two date are equal.
static _getValidExportSubItems($a_ref_id)
Get a list of subitems of a repository resource, that implement the export.
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.
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
Select subitems for export.
setLimit($a_limit=0, $a_default_limit=0)