ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.arIndexTableField.php
Go to the documentation of this file.
1 <?php
2 require_once('./Services/ActiveRecord/Views/class.arViewField.php');
3 
12 {
13 
17  protected $has_filter = false;
21  protected $sortable = false;
25  protected $visible_default = false;
26 
27 
37  public function __construct($name = "", $txt = null, $position = null, $visible = false, $custom_field = false, $sortable = false, $has_filter = false)
38  {
39  $this->sortable = $sortable;
40  $this->has_filter = $has_filter;
41  parent::__construct($name, $txt, $position, $visible, $custom_field);
42  }
43 
44 
48  public function setHasFilter($has_filter)
49  {
50  $this->has_filter = $has_filter;
51  }
52 
53 
57  public function getHasFilter()
58  {
59  return $this->has_filter;
60  }
61 
62 
66  public function setSortable($sortable)
67  {
68  $this->sortable = $sortable;
69  }
70 
71 
75  public function getSortable()
76  {
77  return $this->sortable;
78  }
79 
80 
85  {
86  $this->setVisible(true);
87  $this->visible_default = $visible_default;
88  }
89 
90 
94  public function getVisibleDefault()
95  {
97  }
98 }
setVisible($visible)
GUI-Class arIndexTableField.
__construct($name="", $txt=null, $position=null, $visible=false, $custom_field=false, $sortable=false, $has_filter=false)
GUI-Class arViewField.
setVisibleDefault($visible_default)