‪TYPO3CMS  10.4
FrontendUserGroup.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
20 
25 {
29  protected ‪$title = '';
30 
34  protected ‪$lockToDomain = '';
35 
39  protected ‪$description = '';
40 
44  protected ‪$subgroup;
45 
51  public function ‪__construct(‪$title = '')
52  {
53  $this->‪setTitle(‪$title);
54  $this->subgroup = new ‪ObjectStorage();
55  }
56 
62  public function ‪setTitle(‪$title)
63  {
64  $this->title = ‪$title;
65  }
66 
72  public function ‪getTitle()
73  {
74  return ‪$this->title;
75  }
76 
82  public function ‪setLockToDomain(‪$lockToDomain)
83  {
84  $this->lockToDomain = ‪$lockToDomain;
85  }
86 
92  public function ‪getLockToDomain()
93  {
95  }
96 
102  public function ‪setDescription(‪$description)
103  {
104  $this->description = ‪$description;
105  }
106 
112  public function ‪getDescription()
113  {
114  return ‪$this->description;
115  }
116 
123  public function ‪setSubgroup(ObjectStorage ‪$subgroup)
124  {
125  $this->subgroup = ‪$subgroup;
126  }
127 
133  public function ‪addSubgroup(\‪TYPO3\CMS\‪Extbase\Domain\Model\FrontendUserGroup ‪$subgroup)
134  {
135  $this->subgroup->attach(‪$subgroup);
136  }
137 
143  public function ‪removeSubgroup(\‪TYPO3\CMS\‪Extbase\Domain\Model\FrontendUserGroup ‪$subgroup)
144  {
145  $this->subgroup->detach(‪$subgroup);
146  }
147 
154  public function ‪getSubgroup()
155  {
156  return ‪$this->subgroup;
157  }
158 }
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\getDescription
‪string getDescription()
Definition: FrontendUserGroup.php:108
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\$subgroup
‪TYPO3 CMS Extbase Persistence ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup > $subgroup
Definition: FrontendUserGroup.php:40
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:18
‪TYPO3
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\setTitle
‪setTitle($title)
Definition: FrontendUserGroup.php:58
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:23
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\getTitle
‪string getTitle()
Definition: FrontendUserGroup.php:68
‪TYPO3\CMS\Extbase\Persistence\ObjectStorage
Definition: ObjectStorage.php:28
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\$description
‪string $description
Definition: FrontendUserGroup.php:36
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\getLockToDomain
‪string getLockToDomain()
Definition: FrontendUserGroup.php:88
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\removeSubgroup
‪removeSubgroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $subgroup)
Definition: FrontendUserGroup.php:139
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\addSubgroup
‪addSubgroup(\TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup $subgroup)
Definition: FrontendUserGroup.php:129
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\$title
‪string $title
Definition: FrontendUserGroup.php:28
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\getSubgroup
‪TYPO3 CMS Extbase Persistence ObjectStorage getSubgroup()
Definition: FrontendUserGroup.php:150
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\setSubgroup
‪setSubgroup(ObjectStorage $subgroup)
Definition: FrontendUserGroup.php:119
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup
Definition: FrontendUserGroup.php:25
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\setDescription
‪setDescription($description)
Definition: FrontendUserGroup.php:98
‪TYPO3\CMS\Extbase\Domain\Model
Definition: AbstractFileCollection.php:16
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\$lockToDomain
‪string $lockToDomain
Definition: FrontendUserGroup.php:32
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\__construct
‪__construct($title='')
Definition: FrontendUserGroup.php:47
‪TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup\setLockToDomain
‪setLockToDomain($lockToDomain)
Definition: FrontendUserGroup.php:78