Bitrix API

SortingDto extends Dto

Table of Contents

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
getType()  : array<string|int, mixed>|null
jsonSerialize()  : mixed
make()  : mixed
toArray()  : array<string|int, mixed>

Methods

__construct()

public __construct([string $type = 'SORT_APH' ]) : mixed
Parameters
$type : string = 'SORT_APH'

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

getType()

public getType() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

Returns null if the constant was not found in the class.

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>
Return values
array<string|int, mixed>

        
On this page

Search results