LeadConversionScheme
Table of Contents
Constants
- COMPANY = 7
- COMPANY_NAME = 'COMPANY'
- CONTACT = 6
- CONTACT_COMPANY = 5
- CONTACT_COMPANY_NAME = 'CONTACT_COMPANY'
- CONTACT_NAME = 'CONTACT'
- DEAL = 4
- DEAL_COMPANY = 3
- DEAL_COMPANY_NAME = 'DEAL_COMPANY'
- DEAL_CONTACT = 2
- DEAL_CONTACT_COMPANY = 1
- DEAL_CONTACT_COMPANY_NAME = 'DEAL_CONTACT_COMPANY'
- DEAL_CONTACT_NAME = 'DEAL_CONTACT'
- DEAL_NAME = 'DEAL'
- UNDEFINED = 0
Methods
- getAllDescriptions() : array<string|int, mixed>
- getCurrentOrDefault() : int
- getDefault() : mixed
- getDescription() : mixed
- getEntityTypeIds() : array<string|int, mixed>
- getJavaScriptDescriptions() : array<string|int, mixed>
- isDefined() : mixed
- isSupported() : bool
- Check if scheme is supported.
- isTargetTypeSupported() : bool
- Check if target entity type is supported.
- resolveName() : mixed
Constants
COMPANY
public
mixed
COMPANY
= 7
COMPANY_NAME
public
mixed
COMPANY_NAME
= 'COMPANY'
CONTACT
public
mixed
CONTACT
= 6
CONTACT_COMPANY
public
mixed
CONTACT_COMPANY
= 5
CONTACT_COMPANY_NAME
public
mixed
CONTACT_COMPANY_NAME
= 'CONTACT_COMPANY'
CONTACT_NAME
public
mixed
CONTACT_NAME
= 'CONTACT'
DEAL
public
mixed
DEAL
= 4
DEAL_COMPANY
public
mixed
DEAL_COMPANY
= 3
DEAL_COMPANY_NAME
public
mixed
DEAL_COMPANY_NAME
= 'DEAL_COMPANY'
DEAL_CONTACT
public
mixed
DEAL_CONTACT
= 2
DEAL_CONTACT_COMPANY
public
mixed
DEAL_CONTACT_COMPANY
= 1
DEAL_CONTACT_COMPANY_NAME
public
mixed
DEAL_CONTACT_COMPANY_NAME
= 'DEAL_CONTACT_COMPANY'
DEAL_CONTACT_NAME
public
mixed
DEAL_CONTACT_NAME
= 'DEAL_CONTACT'
DEAL_NAME
public
mixed
DEAL_NAME
= 'DEAL'
UNDEFINED
public
mixed
UNDEFINED
= 0
Methods
getAllDescriptions()
public
static getAllDescriptions() : array<string|int, mixed>
Return values
array<string|int, mixed> —Array of strings
getCurrentOrDefault()
public
static getCurrentOrDefault(LeadConversionConfig $config) : int
Parameters
- $config : LeadConversionConfig
Return values
intgetDefault()
public
static getDefault([array<string|int, mixed> $options = null ]) : mixed
Parameters
- $options : array<string|int, mixed> = null
getDescription()
public
static getDescription(mixed $schemeID) : mixed
Parameters
- $schemeID : mixed
getEntityTypeIds()
public
static getEntityTypeIds(int $schemeId) : array<string|int, mixed>
Parameters
- $schemeId : int
Return values
array<string|int, mixed>getJavaScriptDescriptions()
public
static getJavaScriptDescriptions([mixed $checkPermissions = false ][, array<string|int, mixed> $options = null ]) : array<string|int, mixed>
Parameters
- $checkPermissions : mixed = false
- $options : array<string|int, mixed> = null
Return values
array<string|int, mixed> —Array of strings
isDefined()
public
static isDefined(mixed $schemeID) : mixed
Parameters
- $schemeID : mixed
isSupported()
Check if scheme is supported.
public
static isSupported(int $schemeID[, array<string|int, mixed>|null $options = null ]) : bool
Result is depended on TYPE_ID options parameter.
Parameters
- $schemeID : int
-
Scheme ID.
- $options : array<string|int, mixed>|null = null
-
Options.
Return values
boolisTargetTypeSupported()
Check if target entity type is supported.
public
static isTargetTypeSupported(int $entityTypeID[, array<string|int, mixed>|null $options = null ]) : bool
Result is depended on TYPE_ID options parameter.
Parameters
- $entityTypeID : int
-
Entity Type ID.
- $options : array<string|int, mixed>|null = null
-
Options.
Return values
boolresolveName()
public
static resolveName(mixed $schemeID) : mixed
Parameters
- $schemeID : mixed