ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.arIndexTableFields.php
Go to the documentation of this file.
1 <?php
2 require_once('./Customizing/global/plugins/Libraries/ActiveRecord/Views/class.arViewField.php');
3 require_once('./Customizing/global/plugins/Libraries/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 }