Integration
FinalYes
Table of Contents
Methods
- __construct() : mixed
- Integration constructor.
- checkData() : Result
- Data check before save
- clearNotExistsFormIntegrationLinks() : mixed
- delete() : void
- Delete integration fields
- getForm() : Form
- get Integration form
- getIntegrationFieldsMapper() : IFieldMapper|null
- get field mapper
- load() : array<string|int, mixed>
- Load integration fields
- save() : Result
- Save integration fields
- setData() : $this
- Set data to form
- toArray() : array<string|int, mixed>
- Convert to array
Methods
__construct()
Integration constructor.
public
__construct(Form $form) : mixed
Parameters
- $form : Form
checkData()
Data check before save
public
checkData() : Result
Tags
Return values
ResultclearNotExistsFormIntegrationLinks()
public
static clearNotExistsFormIntegrationLinks() : mixed
delete()
Delete integration fields
public
delete() : void
Tags
getForm()
get Integration form
public
getForm() : Form
Return values
FormgetIntegrationFieldsMapper()
get field mapper
public
getIntegrationFieldsMapper(string $type, string|int|mixed $adsFormId) : IFieldMapper|null
Parameters
- $type : string
- $adsFormId : string|int|mixed
Tags
Return values
IFieldMapper|nullload()
Load integration fields
public
load() : array<string|int, mixed>
Return values
array<string|int, mixed>save()
Save integration fields
public
save() : Result
Tags
Return values
ResultsetData()
Set data to form
public
setData(array<string|int, mixed>|null $data) : $this
Parameters
- $data : array<string|int, mixed>|null
Return values
$thistoArray()
Convert to array
public
toArray() : array<string|int, mixed>