[TASK] Re-work/simplify copyright header in PHP files - Part 9
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Classes / Domain / Model / ConfigurationItem.php
1 <?php
2 namespace TYPO3\CMS\Extensionmanager\Domain\Model;
3
4 /**
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16 /**
17 * Model for extension configuration items
18 *
19 * @author Susanne Moog <typo3@susannemoog.de>
20 */
21 class ConfigurationItem extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
22
23 /**
24 * @var string
25 */
26 protected $category = '';
27
28 /**
29 * @var string
30 */
31 protected $subCategory = '';
32
33 /**
34 * @var string
35 */
36 protected $type = '';
37
38 /**
39 * @var string
40 */
41 protected $labelHeadline = '';
42
43 /**
44 * @var string
45 */
46 protected $labelText = '';
47
48 /**
49 * @var mixed
50 */
51 protected $generic = '';
52
53 /**
54 * @var string
55 */
56 protected $name = '';
57
58 /**
59 * @var string
60 */
61 protected $value = '';
62
63 /**
64 * @var int
65 */
66 protected $highlight = 0;
67
68 /**
69 * @param string $category
70 * @return void
71 */
72 public function setCategory($category) {
73 $this->category = $category;
74 }
75
76 /**
77 * @return string
78 */
79 public function getCategory() {
80 return $this->category;
81 }
82
83 /**
84 * @param string $labelHeadline
85 * @return void
86 */
87 public function setLabelHeadline($labelHeadline) {
88 $this->labelHeadline = $labelHeadline;
89 }
90
91 /**
92 * @return string
93 */
94 public function getLabelHeadline() {
95 return $this->labelHeadline;
96 }
97
98 /**
99 * @param string $labelText
100 * @return void
101 */
102 public function setLabelText($labelText) {
103 $this->labelText = $labelText;
104 }
105
106 /**
107 * @return string
108 */
109 public function getLabelText() {
110 return $this->labelText;
111 }
112
113 /**
114 * @param string $subCategory
115 * @return void
116 */
117 public function setSubCategory($subCategory) {
118 $this->subCategory = $subCategory;
119 }
120
121 /**
122 * @return string
123 */
124 public function getSubCategory() {
125 return $this->subCategory;
126 }
127
128 /**
129 * @param string $type
130 * @return void
131 */
132 public function setType($type) {
133 $this->type = $type;
134 }
135
136 /**
137 * @return string
138 */
139 public function getType() {
140 return $this->type;
141 }
142
143 /**
144 * @param mixed $userFunc
145 * @return void
146 */
147 public function setGeneric($userFunc) {
148 $this->generic = $userFunc;
149 }
150
151 /**
152 * @return mixed
153 */
154 public function getGeneric() {
155 return $this->generic;
156 }
157
158 /**
159 * @param string $name
160 * @return void
161 */
162 public function setName($name) {
163 $this->name = $name;
164 }
165
166 /**
167 * @return string
168 */
169 public function getName() {
170 return $this->name;
171 }
172
173 /**
174 * @param string $value
175 * @return void
176 */
177 public function setValue($value) {
178 $this->value = $value;
179 }
180
181 /**
182 * @return string
183 */
184 public function getValue() {
185 return $this->value;
186 }
187
188 /**
189 * @param integer $highlight
190 * @return void
191 */
192 public function setHighlight($highlight) {
193 $this->highlight = $highlight;
194 }
195
196 /**
197 * @return integer
198 */
199 public function getHighlight() {
200 return $this->highlight;
201 }
202
203 }