4 include_once(
"./Services/Table/classes/class.ilTable2GUI.php");
34 $this->ctrl = $DIC->ctrl();
35 $this->lng = $DIC->language();
36 $this->access = $DIC->access();
38 $lng = $DIC->language();
39 $ilAccess = $DIC->access();
40 $lng = $DIC->language();
42 parent::__construct($a_parent_obj, $a_parent_cmd);
45 $st_c = explode(
":::",
$_SESSION[
"sty_copy"]);
46 $this->from_style_id = $st_c[0];
47 $this->from_style_type = $st_c[1];
48 $this->
setData(explode(
"::", $st_c[2]));
49 $this->
addColumn($this->lng->txt(
"name"));
50 $this->
addColumn($this->lng->txt(
"type"));
51 $this->
addColumn($this->lng->txt(
"sty_if_style_class_already_exists"));
55 $this->
setRowTemplate(
"tpl.paste_style_row.html",
"Services/Style/Content");
72 $char = explode(
".", $a_set);
73 $this->tpl->setVariable(
"CHAR", $a_set);
74 $this->tpl->setVariable(
"SEL_OVERWRITE",
'checked="checked"');
75 $this->tpl->setVariable(
"VAL_TYPE",
$lng->txt(
"sty_type_" . $char[0]));
76 $this->tpl->setVariable(
"VAL_TITLE", $char[2]);
77 $this->tpl->setVariable(
"TXT_OVERWRITE",
$lng->txt(
"sty_overwrite"));
78 $this->tpl->setVariable(
"TXT_IGNORE",
$lng->txt(
"sty_keep_existing"));
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
Paste style overview table.
addHiddenInput($a_name, $a_value)
Add Hidden Input field.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
disable($a_module_name)
diesables particular modules of table
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.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
fillRow($a_set)
Fill table row.
setEnableHeader($a_enableheader)
Set Enable Header.
setEnableTitle($a_enabletitle)
Set Enable Title.
setLimit($a_limit=0, $a_default_limit=0)