Bitrix API

ChannelsCollection implements Iterator, ArrayAccess, Countable

FinalYes

Table of Contents

Interfaces

Iterator
ArrayAccess
Countable

Methods

__construct()  : mixed
count()  : int
current()  : Channel|null
getChannel()  : Channel|null
getPropertyNameList()  : array<string|int, mixed>
hasChannel()  : bool
key()  : string
next()  : void
offsetExists()  : bool
offsetGet()  : Channel|null
offsetSet()  : void
offsetUnset()  : void
rewind()  : void
toArray()  : array<string|int, mixed>
valid()  : bool

Methods

getChannel()

public getChannel(string $moduleId, string $code) : Channel|null
Parameters
$moduleId : string
$code : string
Return values
Channel|null

getPropertyNameList()

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

hasChannel()

public hasChannel(string $moduleId, string $code) : bool
Parameters
$moduleId : string
$code : string
Return values
bool

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetSet()

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed

offsetUnset()

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed

toArray()

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

        
On this page

Search results