GroupDto extends Dto
Table of Contents
Properties
- $additionalData : array<string|int, mixed>
- $dateFinish : int|null
- $dateStart : int|null
- $id : int
- $image : string|null
- $isCollab : bool
- $isExtranet : bool
- $name : string
- $resizedImage100 : string|null
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
$additionalData read-only
public
array<string|int, mixed>
$additionalData
$dateFinish read-only
public
int|null
$dateFinish
= null
$dateStart read-only
public
int|null
$dateStart
= null
$id read-only
public
int
$id
$image read-only
public
string|null
$image
$isCollab read-only
public
bool
$isCollab
= false
$isExtranet read-only
public
bool
$isExtranet
= false
$name read-only
public
string
$name
$resizedImage100 read-only
public
string|null
$resizedImage100
Methods
__construct()
public
__construct(int $id, string $name, string|null $image, string|null $resizedImage100, array<string|int, mixed> $additionalData[, int|null $dateStart = null ][, int|null $dateFinish = null ][, bool $isCollab = false ][, bool $isExtranet = false ]) : mixed
Parameters
- $id : int
- $name : string
- $image : string|null
- $resizedImage100 : string|null
- $additionalData : array<string|int, mixed>
- $dateStart : int|null = null
- $dateFinish : int|null = null
- $isCollab : bool = false
- $isExtranet : bool = false
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>