Bitrix API

ChannelTracker implements IChannelTracker

AbstractYes

Table of Contents

Interfaces

IChannelTracker

Methods

__construct()  : mixed
getTypeID()  : int
Get Channel Type ID
initializeUserContext()  : void
Initialize tracker for using by user.
isInUse()  : bool
Check if channel is in use.
prepareChannelGroupInfos()  : array<string|int, IChannelGroupInfo>
Create channel group info items.
registerActivity()  : void
Register binding to the channel for specified Activity.
registerDeal()  : void
Register binding to the channel for specified Deal.
registerLead()  : void
Register binding to the channel for specified Lead.
unregisterActivity()  : void
Unregister binding to the channel for specified Activity.
unregisterDeal()  : void
Unregister binding to the channel for specified Deal.
unregisterLead()  : void
Unregister binding to the channel for specified Lead.

Methods

__construct()

public __construct(mixed $typeID) : mixed
Parameters
$typeID : mixed

getTypeID()

Get Channel Type ID

public getTypeID() : int
Return values
int

initializeUserContext()

Initialize tracker for using by user.

public initializeUserContext() : void

isInUse()

Check if channel is in use.

public isInUse([array<string|int, mixed> $params = null ]) : bool
Parameters
$params : array<string|int, mixed> = null

Array of channel parameters.

Return values
bool

registerActivity()

Register binding to the channel for specified Activity.

public registerActivity(int $ID[, array<string|int, mixed> $params = null ]) : void
Parameters
$ID : int

Activity ID.

$params : array<string|int, mixed> = null

Array of binding parameters. For example ORIGIN_ID and COMPONENT_ID.

Tags
throws
ArgumentException

registerDeal()

Register binding to the channel for specified Deal.

public registerDeal(int $ID[, array<string|int, mixed> $params = null ]) : void
Parameters
$ID : int

Deal ID.

$params : array<string|int, mixed> = null

Array of binding parameters. For example ORIGIN_ID and COMPONENT_ID.

Tags
throws
ArgumentException

registerLead()

Register binding to the channel for specified Lead.

public registerLead(int $ID[, array<string|int, mixed> $params = null ]) : void
Parameters
$ID : int

Lead ID.

$params : array<string|int, mixed> = null

Array of binding parameters. For example ORIGIN_ID and COMPONENT_ID.

Tags
throws
ArgumentException

unregisterActivity()

Unregister binding to the channel for specified Activity.

public unregisterActivity(int $ID) : void
Parameters
$ID : int

Activity ID.

unregisterDeal()

Unregister binding to the channel for specified Deal.

public unregisterDeal(int $ID) : void
Parameters
$ID : int

Deal ID.

unregisterLead()

Unregister binding to the channel for specified Lead.

public unregisterLead(int $ID) : void
Parameters
$ID : int

Lead ID.


        
On this page

Search results