1 | <?php |
||
8 | class Item |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | protected $label; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $sublabel; |
||
19 | |||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | protected $axisPoint; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $range; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $measure; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $comparative; |
||
39 | |||
40 | 1 | public function __construct() |
|
41 | { |
||
42 | 1 | $this->axisPoint = array(); |
|
43 | 1 | $this->label = null; |
|
44 | 1 | $this->sublabel = null; |
|
45 | 1 | } |
|
46 | |||
47 | /** |
||
48 | * @param $comparative |
||
49 | * |
||
50 | * @return $this |
||
51 | */ |
||
52 | 1 | public function setComparative($comparative) |
|
58 | |||
59 | /** |
||
60 | * @return string |
||
61 | */ |
||
62 | 1 | public function getComparative() |
|
66 | |||
67 | /** |
||
68 | * @param $axisPoint |
||
69 | * |
||
70 | * @return $this |
||
71 | */ |
||
72 | 1 | public function setAxisPoint($axisPoint) |
|
78 | |||
79 | /** |
||
80 | * @return array |
||
81 | */ |
||
82 | 1 | public function getAxisPoint() |
|
86 | |||
87 | /** |
||
88 | * @param $label |
||
89 | * |
||
90 | * @return $this |
||
91 | */ |
||
92 | 1 | public function setLabel($label) |
|
98 | |||
99 | /** |
||
100 | */ |
||
101 | 1 | public function getLabel() |
|
105 | |||
106 | /** |
||
107 | * @param $measure |
||
108 | * |
||
109 | * @return $this |
||
110 | */ |
||
111 | 1 | public function setMeasure($measure) |
|
117 | |||
118 | /** |
||
119 | * @return mixed |
||
120 | */ |
||
121 | 1 | public function getMeasure() |
|
125 | |||
126 | /** |
||
127 | * @param $range |
||
128 | * |
||
129 | * @return $this |
||
130 | */ |
||
131 | 1 | public function setRange($range) |
|
137 | |||
138 | /** |
||
139 | * @return mixed |
||
140 | */ |
||
141 | 1 | public function getRange() |
|
145 | |||
146 | /** |
||
147 | * @param $sublabel |
||
148 | * |
||
149 | * @return $this |
||
150 | */ |
||
151 | 1 | public function setSublabel($sublabel) |
|
157 | |||
158 | /** |
||
159 | */ |
||
160 | 1 | public function getSublabel() |
|
164 | |||
165 | /** |
||
166 | * @return array |
||
167 | */ |
||
168 | 1 | public function toArray() |
|
188 | } |
||
189 |