ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.arIndexTableField.php
Go to the documentation of this file.
1 <?php
2 require_once('./Customizing/global/plugins/Libraries/ActiveRecord/Views/class.arViewField.php');
3 
12 
16  protected $has_filter = false;
20  protected $sortable = false;
24  protected $visible_default = false;
25 
26 
36  function __construct($name = "", $txt = NULL, $position = NULL, $visible = false, $custom_field = false, $sortable = false, $has_filter = false) {
37  $this->sortable = $sortable;
38  $this->has_filter = $has_filter;
40  }
41 
42 
46  public function setHasFilter($has_filter) {
47  $this->has_filter = $has_filter;
48  }
49 
50 
54  public function getHasFilter() {
55  return $this->has_filter;
56  }
57 
58 
62  public function setSortable($sortable) {
63  $this->sortable = $sortable;
64  }
65 
66 
70  public function getSortable() {
71  return $this->sortable;
72  }
73 
74 
79  $this->setVisible(true);
80  $this->visible_default = $visible_default;
81  }
82 
83 
87  public function getVisibleDefault() {
89  }
90 }