Bitrix API

ResourceCollection implements Item, ItemCollection, Iterator, Countable

Table of Contents

Interfaces

Item
ItemCollection
Iterator
Countable

Methods

__construct()  : mixed
add()  : ResourceCollection
clear()  : ResourceCollection
count()  : int
current()  : Resource|null
filter()  : ResourceCollection
findFirst()  : resource|null
findFirstByParty()  : Resource|null
getFirst()  : Resource|null
getIds()  : array<string|int, int|null>
isEmpty()  : bool
key()  : int
next()  : void
rewind()  : void
sort()  : static
toArray()  : array<string|int, T>
valid()  : bool

Methods

findFirst()

public final findFirst(callable(resource): bool $rule) : resource|null
Parameters
$rule : callable(resource): bool
Return values
resource|null

getIds()

public final getIds() : array<string|int, int|null>
Return values
array<string|int, int|null>

sort()

public final sort(Closure $rule) : static
Parameters
$rule : Closure
Return values
static

toArray()

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

        
On this page

Search results