Form
Class Form
Table of Contents
Methods
- __construct() : mixed
- Form constructor.
- getForm() : Form
- prepareFormDateValues() : array<string|int, mixed>
- Preparing a value for saving the selected time in the resource reservation field.
- save() : Result
- Save CRM form
Methods
__construct()
Form constructor.
public
__construct(mixed $connectorId, mixed $formId) : mixed
Parameters
- $connectorId : mixed
- $formId : mixed
getForm()
public
getForm() : Form
Return values
FormprepareFormDateValues()
Preparing a value for saving the selected time in the resource reservation field.
public
static prepareFormDateValues(mixed $name, DateTime $value, mixed $idForm) : array<string|int, mixed>
Parameters
- $name : mixed
- $value : DateTime
- $idForm : mixed
Return values
array<string|int, mixed>save()
Save CRM form
public
save(mixed $values) : Result
Parameters
- $values : mixed