Bitrix API

PhoneToUserStatusDtoCollection extends BaseCollection implements JsonSerializable

Tags
extends

Table of Contents

Interfaces

JsonSerializable

Methods

__clone()  : void
__construct()  : mixed
add()  : void
all()  : array<int, T>
clear()  : void
contains()  : bool
count()  : int
empty()  : bool
filter()  : self
first()  : T|null
forEach()  : void
get()  : T|null
getIterator()  : Traversable<int, T>
jsonSerialize()  : array<string|int, mixed>
map()  : array<int, ReturnT>
remove()  : void

Methods

__construct()

public __construct(array<int, T...$items) : mixed
Parameters
$items : array<int, T>
Tags
throws
ArgumentException

add()

public add(T $item) : void
Parameters
$item : T
Tags
throws
ArgumentException

contains()

public contains(T $item) : bool
Parameters
$item : T
Return values
bool

filter()

public filter(callable(T): bool $callback) : self
Parameters
$callback : callable(T): bool
Tags
throws
ArgumentException
Return values
self

forEach()

public forEach(callable(T): void $callback) : void
Parameters
$callback : callable(T): void

get()

public get(int $index) : T|null
Parameters
$index : int
Return values
T|null

getIterator()

public getIterator() : Traversable<int, T>
Return values
Traversable<int, T>

map()

public map(callable(T): ReturnT $callback) : array<int, ReturnT>
Parameters
$callback : callable(T): ReturnT
Tags
template
Return values
array<int, ReturnT>

remove()

public remove(int $index) : void
Parameters
$index : int

        
On this page

Search results