PHP Class Neos\Neos\Domain\Model\User

Inheritance: extends Neos\Party\Domain\Model\Person, implements Neos\ContentRepository\Domain\Model\UserInterface
Show file Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$preferences UserPreferences Preferences of this user

Public Methods

Method Description
__construct ( ) Constructs this User object
getLabel ( ) : string Returns a label which can be used as a human-friendly identifier for this user.
getPreferences ( ) : UserPreferences
isActive ( ) : boolean Checks if at least one account of this user ist active
setPreferences ( UserPreferences $preferences ) : void

Method Details

__construct() public method

Constructs this User object
public __construct ( )

getLabel() public method

Returns a label which can be used as a human-friendly identifier for this user.
public getLabel ( ) : string
return string

getPreferences() public method

public getPreferences ( ) : UserPreferences
return UserPreferences

isActive() public method

Checks if at least one account of this user ist active
public isActive ( ) : boolean
return boolean

setPreferences() public method

public setPreferences ( UserPreferences $preferences ) : void
$preferences UserPreferences
return void

Property Details

$preferences protected property

Preferences of this user
protected UserPreferences,Neos\Neos\Domain\Model $preferences
return UserPreferences