f2e3a7807618a76f664758e1a2ca88894730b8f7
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Classes / Domain / Model / BackendUserGroup.php
1 <?php
2 namespace TYPO3\CMS\Beuser\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 /**
18 * Model for backend user group
19 *
20 * @author Felix Kopp <felix-source@phorax.com>
21 */
22 class BackendUserGroup extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
23
24 /**
25 * @var string
26 */
27 protected $title;
28
29 /**
30 * @var bool
31 */
32 protected $hidden;
33
34 /**
35 * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Beuser\Domain\Model\BackendUserGroup>
36 * @lazy
37 */
38 protected $subGroups;
39
40 /**
41 * @param string $title
42 */
43 public function setTitle($title) {
44 $this->title = $title;
45 }
46
47 /**
48 * @return string
49 */
50 public function getTitle() {
51 return $this->title;
52 }
53
54 /**
55 * @param bool $hidden
56 */
57 public function setHidden($hidden) {
58 $this->hidden = $hidden;
59 }
60
61 /**
62 * @return bool
63 */
64 public function getHidden() {
65 return $this->hidden;
66 }
67
68 /**
69 * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage $subGroups
70 */
71 public function setSubGroups($subGroups) {
72 $this->subGroups = $subGroups;
73 }
74
75 /**
76 * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage
77 */
78 public function getSubGroups() {
79 return $this->subGroups;
80 }
81
82 }