Bitrix API

ItemCollection implements IteratorAggregate, JsonSerializable

Table of Contents

Interfaces

IteratorAggregate
JsonSerializable

Methods

__construct()  : mixed
add()  : bool
count()  : int
get()  : Item|null
getAll()  : array<string|int, mixed>
getEntityItems()  : array<string|int, mixed>
getIterator()  : ArrayIterator
has()  : bool
jsonSerialize()  : mixed
toArray()  : array<string|int, mixed>
toJsObject()  : string

Methods

get()

public get(string $entityId, mixed $itemId) : Item|null
Parameters
$entityId : string
$itemId : mixed
Return values
Item|null

getAll()

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

getEntityItems()

public getEntityItems(string $entityId) : array<string|int, mixed>
Parameters
$entityId : string
Return values
array<string|int, mixed>

getIterator()

public getIterator() : ArrayIterator
Return values
ArrayIterator

toArray()

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

        
On this page

Search results