‪TYPO3CMS  ‪main
TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup Class Reference
Inheritance diagram for TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup:
TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface

Public Member Functions

 __construct (string $title='')
 
 setTitle (string $title)
 
 getTitle ()
 
 setDescription (string $description)
 
 getDescription ()
 
 setSubgroup (ObjectStorage $subgroup)
 
 addSubgroup (FrontendUserGroup $subgroup)
 
 removeSubgroup (FrontendUserGroup $subgroup)
 
ObjectStorage< FrontendUserGroupgetSubgroup ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 setPid (int $pid)
 
 _setProperty (string $propertyName, mixed $value)
 
 _getProperty (string $propertyName)
 
 _memorizeCleanState (?string $propertyName=null)
 
 _memorizePropertyCleanState (string $propertyName)
 
 _getCleanProperty (string $propertyName)
 
 _isDirty (?string $propertyName=null)
 
 _isClone ()
 
 _setClone (bool $clone)
 
 __clone ()
 
non empty string __toString ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface
 getUid ()
 
 getPid ()
 
 _isNew ()
 
 _hasProperty (string $propertyName)
 

Protected Attributes

string $title = ''
 
string $description = ''
 
ObjectStorage $subgroup
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
int $uid = null
 
int $_localizedUid = null
 
int $_languageUid = null
 
int $_versionedUid = null
 
int $pid = null
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
const PROPERTY_UID = 'uid'
 
const PROPERTY_PID = 'pid'
 
const PROPERTY_LOCALIZED_UID = '_localizedUid'
 
const PROPERTY_LANGUAGE_UID = '_languageUid'
 
const PROPERTY_VERSIONED_UID = '_versionedUid'
 
int< 1, function getUid():?int { if( $this->uid !==null) { return(int) $this-> uid
 
return null
 
int< 0, function getPid():int|null { if( $this->pid===null) { return null;} return(int) $this-> pid
 
array< non-empty-string, function _getProperties():array { $properties=get_object_vars( $this);foreach( $properties as $propertyName=> $propertyValue) { if(str_starts_with( $propertyName, '_')) { unset( $properties[ $propertyName]);} } return $properties;} public function _hasProperty(string $propertyName):bool { return property_exists( $this, $propertyName);} public function _isNew():bool { return $this-> uid === null
 
array< non-empty-string, function _getCleanProperties():array { return $this-> _cleanProperties
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 isPropertyDirty (mixed $previousValue, mixed $currentValue)
 

Detailed Description

A Frontend User Group

Definition at line 26 of file FrontendUserGroup.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::__construct ( string  $title = '')

Member Function Documentation

◆ addSubgroup()

TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::addSubgroup ( FrontendUserGroup  $subgroup)

◆ getDescription()

TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::getDescription ( )

◆ getSubgroup()

ObjectStorage<FrontendUserGroup> TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::getSubgroup ( )

Returns the subgroups. Keep in mind that the property is called "subgroup" although it can hold several subgroups.

Returns
‪ObjectStorage<FrontendUserGroup> An object storage containing the subgroups

Definition at line 90 of file FrontendUserGroup.php.

References TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup\$subgroup.

◆ getTitle()

TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::getTitle ( )

◆ removeSubgroup()

TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::removeSubgroup ( FrontendUserGroup  $subgroup)

◆ setDescription()

TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::setDescription ( string  $description)

◆ setSubgroup()

TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::setSubgroup ( ObjectStorage  $subgroup)

Sets the subgroups. Keep in mind that the property is called "subgroup" although it can hold several subgroups.

Parameters
ObjectStorage<FrontendUserGroup>‪$subgroup An object storage containing the subgroups to add

Definition at line 69 of file FrontendUserGroup.php.

References TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup\$subgroup.

◆ setTitle()

TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::setTitle ( string  $title)

Member Data Documentation

◆ $description

string TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::$description = ''
protected

◆ $subgroup

◆ $title

string TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup::$title = ''
protected