ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.arIndexTableField.php
Go to the documentation of this file.
1<?php
2require_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;
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}
An exception for terminatinating execution or to throw for unit testing.
GUI-Class arIndexTableField.
__construct($name="", $txt=null, $position=null, $visible=false, $custom_field=false, $sortable=false, $has_filter=false)
setVisibleDefault($visible_default)
GUI-Class arViewField.
setVisible($visible)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc