| Current Path : /var/www/surf/TYPO3/vendor/typo3/cms-beuser/Classes/Domain/Model/ |
| Current File : /var/www/surf/TYPO3/vendor/typo3/cms-beuser/Classes/Domain/Model/BackendUserGroup.php |
<?php
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Beuser\Domain\Model;
use TYPO3\CMS\Extbase\Annotation as Extbase;
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
/**
* Model for backend user group
* @internal This class is a TYPO3 Backend implementation and is not considered part of the Public TYPO3 API.
*/
class BackendUserGroup extends AbstractEntity
{
/**
* @var string
*/
protected $title;
/**
* @var string
*/
protected $description;
/**
* @var bool
*/
protected $hidden;
/**
* @var ObjectStorage<BackendUserGroup>
* @Extbase\ORM\Lazy
*/
protected $subGroups;
/**
* @param string $title
*/
public function setTitle($title)
{
$this->title = $title;
}
/**
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @param bool $hidden
*/
public function setHidden($hidden)
{
$this->hidden = $hidden;
}
/**
* @return bool
*/
public function getHidden()
{
return $this->hidden;
}
/**
* @param ObjectStorage<BackendUserGroup> $subGroups
*/
public function setSubGroups($subGroups)
{
$this->subGroups = $subGroups;
}
/**
* @return ObjectStorage<BackendUserGroup>
*/
public function getSubGroups()
{
return $this->subGroups;
}
}