6 include_once(
"Services/Table/classes/class.ilTable2GUI.php");
24 parent::__construct($a_parent_obj, $a_parent_cmd);
27 $this->
addColumn($lng->txt(
"cont_position"),
"",
"1");
30 $this->
addColumn($lng->txt(
"cont_file"),
"",
"50%");
31 $this->
addColumn($lng->txt(
"cont_characteristic"),
"",
"50%");
35 $this->
addColumn($lng->txt(
"cont_file"),
"",
"100%");
42 $this->file_list = $a_file_list;
43 $this->
setData($this->file_list->getFileList());
47 if (count($this->
getData()) > 0)
51 $this->
addCommandButton(
"savePositionsAndClasses", $lng->txt(
"cont_save_positions_and_classes"));
59 $this->
setTitle($lng->txt(
"cont_files"));
72 $this->tpl->setCurrentBlock(
"class_sel");
73 $sel = ($a_set[
"class"] ==
"")
77 "class[".$a_set[
"hier_id"].
":".$a_set[
"pc_id"].
"]",
79 $this->tpl->parseCurrentBlock();
83 $this->tpl->setVariable(
"POS", $this->pos);
84 $this->tpl->setVariable(
"FID", $a_set[
"hier_id"].
":".$a_set[
"pc_id"]);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
__construct($a_parent_obj, $a_parent_cmd, $a_file_list)
static _lookupTitle($a_id)
lookup object title
getParentObject()
Get parent object.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
static formSelect($selected, $varname, $options, $multiple=false, $direct_text=false, $size="0", $style_class="", $attribs="", $disabled=false)
Builds a select form field with options and shows the selected option first.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
setEnableHeader($a_enableheader)
Set Enable Header.
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.
TableGUI class for file list.
fillRow($a_set)
Standard Version of Fill Row.
setLimit($a_limit=0, $a_default_limit=0)