PHP Класс eZ\Publish\Core\Repository\Values\User\UserCreateStruct

Наследование: extends eZ\Publish\API\Repository\Values\User\UserCreateStruct
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$fields eZ\Publish\API\Repository\Values\Content\Field[] The list of fields added to the user.

Открытые методы

Метод Описание
setField ( string $fieldDefIdentifier, mixed $value, string | null $language = null ) Adds a field to the field collection.

Описание методов

setField() публичный Метод

This method could also be implemented by a magic setter so that $fields[$fieldDefIdentifier][$language] = $value or without language $fields[$fieldDefIdentifier] = $value is an equivalent call.
public setField ( string $fieldDefIdentifier, mixed $value, string | null $language = null )
$fieldDefIdentifier string the identifier of the field definition
$value mixed Either a plain value which is understandable by the corresponding field type or an instance of a Value class provided by the field type
$language string | null If not given on a translatable field the initial language is used

Описание свойств

$fields публичное свойство

The list of fields added to the user.
public Field[],eZ\Publish\API\Repository\Values\Content $fields
Результат eZ\Publish\API\Repository\Values\Content\Field[]