ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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  public function getSelectableColumns(arIndexTableGUI $translator)
29  {
30  if (empty($this->selectable_columns)) {
31  foreach ($this->getFields() as $field) {
35  if ($field->getVisible()) {
36  $this->selectable_columns[$field->getName()] = array(
37  "txt" => $translator->txt($field->getTxt()),
38  "default" => $field->getVisibleDefault()
39  );
40  }
41  }
42  }
43 
45  }
46 }
GUI-Class arIndexTableGUI.
GUI-Class arIndexTableFields.
txt($txt, $plugin_txt=true)
GUI-Class arViewFields.
$translator
Definition: getconsent.php:119