ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 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}
An exception for terminatinating execution or to throw for unit testing.
GUI-Class arIndexTableFields.
GUI-Class arIndexTableGUI.
GUI-Class arViewFields.
$translator