Form
Form.php
:
13
Methods¶
__construct() ¶
Form.php
:
33
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentId | int|null | null | - |
$contentFieldId | int|null | null | - |
$languageCode | string|null | null | - |
$fields | array<string|int, Field> | [] | - |
getContentFieldId() ¶
Form.php
:
116
|
|
Return values
int|null
getContentId() ¶
Form.php
:
100
|
|
Return values
int|null
getFieldById() ¶
Form.php
:
68
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$id | string | - | - |
Return values
Tags
getFieldByIdentifier() ¶
Form.php
:
86
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
Tags
getFields() ¶
Form.php
:
48
|
|
Return values
array<string|int, Field>
getLanguageCode() ¶
Form.php
:
132
|
|
Return values
string|null
setContentFieldId() ¶
Form.php
:
124
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentFieldId | int|null | - | - |
setContentId() ¶
Form.php
:
108
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentId | int|null | - | - |
setFields() ¶
Form.php
:
56
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$fields | array<string|int, Field> | - | - |
setLanguageCode() ¶
Form.php
:
140
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$languageCode | string|null | - | - |