Bitrix API

Factory

Class Base

Table of Contents

Methods

create()  : Base
Create channel instance.
createCollection()  : Collection
Create collection by trace ID.
createSiteChannelByHost()  : Base|Site|Site24|SiteDomain
Create site channel instance by host.
getClass()  : null|string
Get class.
getCodes()  : array<string|int, mixed>
Get list of codes.
getNames()  : array<string|int, mixed>
Get list of names.
isKnown()  : null|string
Get Return true if channel is known by code.

Methods

create()

Create channel instance.

public static create(string $code[, string|null $value = null ]) : Base
Parameters
$code : string

Code.

$value : string|null = null

Value.

Tags
throws
NotImplementedException
Return values
Base

createCollection()

Create collection by trace ID.

public static createCollection(int $traceId) : Collection
Parameters
$traceId : int

Trace ID.

Return values
Collection

getClass()

Get class.

public static getClass(string $code) : null|string
Parameters
$code : string

Code.

Return values
null|string

getCodes()

Get list of codes.

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

getNames()

Get list of names.

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

isKnown()

Get Return true if channel is known by code.

public static isKnown(string $code) : null|string
Parameters
$code : string

Code.

Return values
null|string

        
On this page

Search results