ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.arIndexTableFields.php
Go to the documentation of this file.
1 <?php
2 require_once('./Services/ActiveRecord/Views/class.arViewField.php');
3 require_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 arIndexTableGUI.
GUI-Class arIndexTableFields.
txt($txt, $plugin_txt=true)
GUI-Class arViewFields.
Create styles array
The data for the language used.