PHP Class Sulu\Bundle\SecurityBundle\Entity\User

Inheritance: extends BaseUser
Mostrar archivo Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$contact Sulu\Component\Contact\Model\ContactInterface
$userGroups UserGroup[]
$userRoles UserRole[]
$userSettings UserSetting[]

Public Methods

Method Description
__construct ( ) Constructor.
addUserGroup ( UserGroup $userGroups ) : self Add userGroups.
addUserRole ( UserRole $userRoles ) : self Add userRoles.
addUserSetting ( UserSetting $userSettings ) : self Add userSettings.
getContact ( ) : Sulu\Component\Contact\Model\ContactInterface Get contact.
getFullName ( ) : string
getRoleObjects ( )
getRoles ( )
getSettings ( )
getUserGroups ( ) : ArrayCollection Get userGroups.
getUserRoles ( ) : ArrayCollection Get userRoles.
getUserSettings ( ) : Doctrine\Common\Collections\Collection Get userSettings.
removeUserGroup ( UserGroup $userGroups ) Remove userGroups.
removeUserRole ( UserRole $userRoles ) Remove userRoles.
removeUserSetting ( UserSetting $userSettings ) Remove userSettings.
setContact ( Sulu\Component\Contact\Model\ContactInterface $contact = null ) : self Set contact.

Method Details

__construct() public method

Constructor.
public __construct ( )

addUserGroup() public method

Add userGroups.
public addUserGroup ( UserGroup $userGroups ) : self
$userGroups UserGroup
return self

addUserRole() public method

Add userRoles.
public addUserRole ( UserRole $userRoles ) : self
$userRoles UserRole
return self

addUserSetting() public method

Add userSettings.
public addUserSetting ( UserSetting $userSettings ) : self
$userSettings UserSetting
return self

getContact() public method

Get contact.
public getContact ( ) : Sulu\Component\Contact\Model\ContactInterface
return Sulu\Component\Contact\Model\ContactInterface

getFullName() public method

public getFullName ( ) : string
return string

getRoleObjects() public method

public getRoleObjects ( )

getRoles() public method

public getRoles ( )

getSettings() public method

public getSettings ( )

getUserGroups() public method

Get userGroups.
public getUserGroups ( ) : ArrayCollection
return Doctrine\Common\Collections\ArrayCollection

getUserRoles() public method

Get userRoles.
public getUserRoles ( ) : ArrayCollection
return Doctrine\Common\Collections\ArrayCollection

getUserSettings() public method

Get userSettings.
public getUserSettings ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

removeUserGroup() public method

Remove userGroups.
public removeUserGroup ( UserGroup $userGroups )
$userGroups UserGroup

removeUserRole() public method

Remove userRoles.
public removeUserRole ( UserRole $userRoles )
$userRoles UserRole

removeUserSetting() public method

Remove userSettings.
public removeUserSetting ( UserSetting $userSettings )
$userSettings UserSetting

setContact() public method

Set contact.
public setContact ( Sulu\Component\Contact\Model\ContactInterface $contact = null ) : self
$contact Sulu\Component\Contact\Model\ContactInterface
return self

Property Details

$contact protected_oe property

protected ContactInterface,Sulu\Component\Contact\Model $contact
return Sulu\Component\Contact\Model\ContactInterface

$userGroups protected_oe property

protected UserGroup[],Sulu\Bundle\SecurityBundle\Entity $userGroups
return UserGroup[]

$userRoles protected_oe property

protected UserRole[] $userRoles
return UserRole[]

$userSettings protected_oe property

protected UserSetting[],Sulu\Bundle\SecurityBundle\Entity $userSettings
return UserSetting[]