UserFieldDto extends Dto
FinalYes
Table of Contents
Properties
- $entityId : string
- $fieldName : string
- $id : int
- $isEditable : bool
- $isMandatory : bool
- $isMultiple : bool
- $isVisible : bool
- $settings : array<string|int, mixed>
- $sort : int
- $title : string
- $type : string
- $value : string|array<string|int, mixed>
Methods
- __construct() : mixed
- getCachedCasts() : array<string|int, mixed>
- getCasts() : array<string, Caster>
- Method returns map, where key must relate to public property, and value specifies type of this property
- jsonSerialize() : mixed
- make() : mixed
- toArray() : array<string|int, mixed>
Properties
$entityId
public
string
$entityId
$fieldName
public
string
$fieldName
$id
public
int
$id
$isEditable
public
bool
$isEditable
$isMandatory
public
bool
$isMandatory
$isMultiple
public
bool
$isMultiple
$isVisible
public
bool
$isVisible
$settings
public
array<string|int, mixed>
$settings
$sort
public
int
$sort
$title
public
string
$title
$type
public
string
$type
$value
public
string|array<string|int, mixed>
$value
Methods
__construct()
public
__construct() : mixed
getCachedCasts()
public
getCachedCasts() : array<string|int, mixed>
Return values
array<string|int, mixed>getCasts()
Method returns map, where key must relate to public property, and value specifies type of this property
public
getCasts() : array<string, Caster>
use type hints and attribute \Bitrix\Mobile\Dto\Attributes\Collection instead
Return values
array<string, Caster> —property name => typecaster object
jsonSerialize()
public
jsonSerialize() : mixed
make()
public
static make([array<string|int, mixed>|null $fields = null ]) : mixed
Parameters
- $fields : array<string|int, mixed>|null = null
toArray()
public
toArray() : array<string|int, mixed>