3 include_once(
'./Services/FileSystem/classes/class.ilFileSystemTableGUI.php');
24 $a_label_enable =
false,
27 $a_commands = array(),
28 $a_post_dir_path =
false,
33 $this->lng = $DIC->language();
63 $entries = parent::getEntries();
64 if (count($entries) > 0) {
65 $this->
addCommandButton(
"saveFilesOrder", $this->lng->txt(
"exc_save_order"));
68 return $ass->fileAddOrder($entries);
79 if ($a_field ==
"order_val") {
89 if ($this->has_multi) {
98 $this->
addColumn($this->lng->txt(
"cont_dir_file"),
"name");
99 $this->
addColumn($this->lng->txt(
"cont_size"),
"size");
101 if ($this->label_enable) {
102 $this->
addColumn($this->label_header,
"label");
105 if (
sizeof($this->row_commands)) {
106 $this->
addColumn($this->lng->txt(
"actions"));
107 include_once
"Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php";
116 $this->tpl->setCurrentBlock(
"Order");
117 if ($a_set[
'order_id']) {
118 $this->tpl->setVariable(
"ID", $a_set[
'order_id']);
120 if ($a_set[
"order_val"]) {
121 $this->tpl->setVariable(
"ORDER_VAL", $a_set[
"order_val"]);
123 $this->tpl->parseCurrentBlock();
125 parent::fillRow($a_set);
addCommandButton($a_cmd, $a_text, $a_onclick='', $a_id="", $a_class=null)
Add Command button.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
__construct( $a_parent_obj, $a_parent_cmd, $a_cur_dir, $a_cur_subdir, $a_label_enable=false, $a_file_labels, $a_label_header="", $a_commands=array(), $a_post_dir_path=false, $a_table_id="")
fillRow($a_set)
Fill table row.
setDefaultOrderDirection($a_defaultorderdirection)
Set Default order direction.
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.
getEntries()
Add Order Values (extension of ilFilesystemgui getEntries)
numericOrdering($a_field)
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.
File System Explorer GUI class.
setLimit($a_limit=0, $a_default_limit=0)
TableGUI class for file system.