Copied!

MemberUpdateStruct

MemberUpdateStruct.php : 13
Uses Fields

This class is used to update a user in the repository.

Properties

public $contentMetadataUpdateStruct

UserUpdateStruct.php : 60

The update structure for the profile meta data.

public ContentMetadataUpdateStruct $contentMetadataUpdateStruct = null

public $contentUpdateStruct

UserUpdateStruct.php : 53

The update structure for the profile content.

public ContentUpdateStruct $contentUpdateStruct = null

public $email

UserUpdateStruct.php : 23

If set the email address is updated with this value.

public string|null $email

public $enabled

UserUpdateStruct.php : 38

Flag to signal if user is enabled or not If set the enabled status is changed to this value.

public bool|null $enabled

public $fields

Fields.php : 16
public array<string|int, Field$fields = []

public $maxLogin

UserUpdateStruct.php : 46

Max number of time user is allowed to login If set the maximal number of logins is changed to this value.

public int|null $maxLogin

public $password

UserUpdateStruct.php : 30

If set the password is updated with this plain password.

public string|null $password

Methods

public__construct()

ValueObject.php : 30

Construct object optionally with a set of properties.

public __construct([array<string|int, mixed> $properties = [] ])

Readonly properties values must be set using $properties as they are not writable anymore after object has been created.

Parameters

Name Type Default value Description
$properties array<string|int, mixed> [] -

publicsetField()

Fields.php : 19
public setField(string $fieldDefIdentifier, mixed $value[, string|null $language = null ]) : void

Parameters

Name Type Default value Description
$fieldDefIdentifier string - -
$value mixed - -
$language string|null null -

protectedgetProperties()

ValueObject.php : 50

Function where list of properties are returned.

protected getProperties([array<string|int, mixed> $dynamicProperties = [] ]) : array<string|int, mixed>

Used by attributes(), override to add dynamic properties

Parameters

Name Type Default value Description
$dynamicProperties array<string|int, mixed> []

Additional dynamic properties exposed on the object

Return values

array<string|int, mixed>