Callback extends Form
Class Callback
Table of Contents
Constants
- Button = 'button'
- Call = 'call'
- Callback = 'callback'
- CrmShop = 'crm-shop'
- FbLeadAds = 'fb-lead-ads'
- Form = 'form'
- Imol = 'imol'
- Mail = 'mail'
- Order = 'order'
- Rest = 'rest'
- SalesCenter = 'sales-center'
- Shop24 = 'shop24'
- Site = 'site'
- Site24 = 'site24'
- SiteDomain = 'site-domain'
- VkLeadAds = 'vk-lead-ads'
Methods
- __construct() : mixed
- Form constructor.
- canUse() : bool
- Return true if can use.
- getChannels() : Collection
- Get channels.
- getCode() : string|null
- Get code.
- getDescription() : string
- Get description.
- getEntities() : ComplexCollection
- Get entities.
- getGridName() : string
- Get grid name.
- getGridNameByCode() : string
- Get grid name by code.
- getItems() : array<string|int, mixed>
- Get items.
- getName() : string
- Get name.
- getNameByCode() : string
- Get name by code.
- getSourceId() : int|null
- Get source ID.
- getValue() : string|null
- Get value.
- isConfigured() : bool
- Return true if it is configured.
- isSite() : bool
- Return true if it implements site interface.
- isSourceDirectlyRequiredSingleChannel() : bool
- Return true if source directly required single channel.
- isSupportChannelDetecting() : bool
- Return true if supports detecting channels.
- isSupportEntityDetecting() : bool
- Return true if supports detecting entities.
- isSupportTraceDetecting() : bool
- Return true if supports detecting trace.
- toArray() : array<string|int, mixed>
- To array.
Constants
Button
public
mixed
Button
= 'button'
Call
public
mixed
Call
= 'call'
Callback
public
mixed
Callback
= 'callback'
CrmShop
public
mixed
CrmShop
= 'crm-shop'
FbLeadAds
public
mixed
FbLeadAds
= 'fb-lead-ads'
Form
public
mixed
Form
= 'form'
Imol
public
mixed
Imol
= 'imol'
public
mixed
Mail
= 'mail'
Order
public
mixed
Order
= 'order'
Rest
public
mixed
Rest
= 'rest'
SalesCenter
public
mixed
SalesCenter
= 'sales-center'
Shop24
public
mixed
Shop24
= 'shop24'
Site
public
mixed
Site
= 'site'
Site24
public
mixed
Site24
= 'site24'
SiteDomain
public
mixed
SiteDomain
= 'site-domain'
VkLeadAds
public
mixed
VkLeadAds
= 'vk-lead-ads'
Methods
__construct()
Form constructor.
public
__construct(string $formId) : mixed
Parameters
- $formId : string
-
Form ID.
canUse()
Return true if can use.
public
canUse() : bool
Return values
boolgetChannels()
Get channels.
public
getChannels() : Collection
Return values
CollectiongetCode()
Get code.
public
getCode() : string|null
Return values
string|nullgetDescription()
Get description.
public
getDescription() : string
Return values
stringgetEntities()
Get entities.
public
getEntities() : ComplexCollection
Return values
ComplexCollectiongetGridName()
Get grid name.
public
getGridName() : string
Return values
stringgetGridNameByCode()
Get grid name by code.
public
static getGridNameByCode(string $code) : string
Parameters
- $code : string
-
Code.
Return values
stringgetItems()
Get items.
public
getItems() : array<string|int, mixed>
Return values
array<string|int, mixed>getName()
Get name.
public
getName() : string
Return values
stringgetNameByCode()
Get name by code.
public
static getNameByCode(string $code) : string
Parameters
- $code : string
-
Code.
Return values
stringgetSourceId()
Get source ID.
public
getSourceId() : int|null
Return values
int|nullgetValue()
Get value.
public
getValue() : string|null
Return values
string|nullisConfigured()
Return true if it is configured.
public
static isConfigured() : bool
Return values
boolisSite()
Return true if it implements site interface.
public
isSite() : bool
Return values
boolisSourceDirectlyRequiredSingleChannel()
Return true if source directly required single channel.
public
isSourceDirectlyRequiredSingleChannel() : bool
Return values
boolisSupportChannelDetecting()
Return true if supports detecting channels.
public
isSupportChannelDetecting() : bool
Return values
boolisSupportEntityDetecting()
Return true if supports detecting entities.
public
isSupportEntityDetecting() : bool
Return values
boolisSupportTraceDetecting()
Return true if supports detecting trace.
public
isSupportTraceDetecting() : bool
Return values
booltoArray()
To array.
public
toArray() : array<string|int, mixed>