ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.arIndexTableFields.php
Go to the documentation of this file.
1<?php
2require_once('./Services/ActiveRecord/Views/class.arViewField.php');
3require_once('./Services/ActiveRecord/Views/class.arViewFields.php');
4
13
14 const FIELD_CLASS = 'arIndexTableField';
18 protected $selectable_columns = array();
19
20
28 function getSelectableColumns(arIndexTableGUI $translator) {
29 if (empty($this->selectable_columns)) {
30 foreach ($this->getFields() as $field) {
34 if ($field->getVisible()) {
35 $this->selectable_columns[$field->getName()] = array(
36 "txt" => $translator->txt($field->getTxt()),
37 "default" => $field->getVisibleDefault()
38 );
39 }
40 }
41 }
42
44 }
45}
GUI-Class arIndexTableFields.
GUI-Class arIndexTableGUI.
txt($txt, $plugin_txt=true)
GUI-Class arViewFields.