LeadImportTracker extends ChannelTracker
Table of Contents
Constants
- GROUP_ID = 'LEAD_IMPORT'
Methods
- __construct() : mixed
- checkConfigurationPermission() : bool
- Check if current user has permission to configure Lead import.
- getInstance() : LeadImportTracker
- Get manager instance
- getTypeID() : int
- Get Channel Type ID
- getUrl() : string
- Get Lead import page URL.
- initializeUserContext() : void
- Initialize tracker for using by user.
- isEnabled() : bool
- Check if Lead import is enabled.
- isInUse() : bool
- Check if channel is in use.
- prepareCaption() : string
- Prepare channel caption
- prepareChannelGroupInfos() : array<string|int, IChannelGroupInfo>
- Create channel group info items.
- prepareChannelInfos() : array<string|int, IChannelInfo>
- Create channel info items.
- registerActivity() : void
- Register binding to the channel for specified Activity.
- registerDeal() : void
- Register binding to the channel for specified Deal.
- registerInstance() : mixed
- Add instance of this manager to collection
- 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.
Constants
GROUP_ID
public
mixed
GROUP_ID
= 'LEAD_IMPORT'
Methods
__construct()
public
__construct() : mixed
checkConfigurationPermission()
Check if current user has permission to configure Lead import.
public
checkConfigurationPermission([array<string|int, mixed> $params = null ]) : bool
Parameters
- $params : array<string|int, mixed> = null
-
Array of channel parameters.
Return values
boolgetInstance()
Get manager instance
public
static getInstance() : LeadImportTracker
Return values
LeadImportTrackergetTypeID()
Get Channel Type ID
public
getTypeID() : int
Return values
intgetUrl()
Get Lead import page URL.
public
getUrl([array<string|int, mixed> $params = null ]) : string
Parameters
- $params : array<string|int, mixed> = null
-
Array of channel parameters.
Tags
Return values
stringinitializeUserContext()
Initialize tracker for using by user.
public
initializeUserContext() : void
isEnabled()
Check if Lead import is enabled.
public
isEnabled() : bool
Return values
boolisInUse()
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
boolprepareCaption()
Prepare channel caption
public
prepareCaption([array<string|int, mixed>|null $params = null ]) : string
Parameters
- $params : array<string|int, mixed>|null = null
-
Array of channel parameters.
Return values
stringprepareChannelGroupInfos()
Create channel group info items.
public
prepareChannelGroupInfos() : array<string|int, IChannelGroupInfo>
Return values
array<string|int, IChannelGroupInfo>prepareChannelInfos()
Create channel info items.
public
prepareChannelInfos() : array<string|int, IChannelInfo>
Return values
array<string|int, IChannelInfo>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
registerInstance()
Add instance of this manager to collection
public
static registerInstance(array<string|int, mixed> &$instances) : mixed
Parameters
- $instances : array<string|int, mixed>
-
Destination collection.
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.