ChannelTracker implements IChannelTracker
AbstractYes
Table of Contents
Interfaces
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
intinitializeUserContext()
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
boolprepareChannelGroupInfos()
Create channel group info items.
public
prepareChannelGroupInfos() : array<string|int, IChannelGroupInfo>
Return values
array<string|int, IChannelGroupInfo>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
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
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
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.