GravityKit\GravityMigrate\Platforms\WSForm\WSFormSourceAdapter
Source: src/Platforms/WSForm/WSFormSourceAdapter.php:47
Details
- Kind:
class - Namespace:
GravityKit\GravityMigrate\Platforms\WSForm - Extends:
AbstractSourceAdapter
Properties
| Property | Type | Description |
|---|---|---|
$section_field_map | array<int, | int[]> |
$group_field_map | array<int, | int[]> |
$choice_row_values | array<int, | array<string, string>> |
$composite_section_label | string | The composite label a section supplied, while its fields are being read. |
$logic_field_labels | array<int, | string> |
$datetime_kinds | array<string, | string|null> |
$field_id_map | array<int, | int> |
$field_label_map | array<int, | string> |
$merge_tag_messages | string[] | What could not be carried across while translating this form's wording. |
Methods
| Method | Description |
|---|---|
build_prepared_payload() | Builds a prepared payload for a Gravity Forms import. |
Method Reference
build_prepared_payload()
public function build_prepared_payload( array $source_form )
Builds a prepared payload for a Gravity Forms import.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$source_form | array | Source form payload. |
Returns
array|\WP_Error— Prepared payload array or WP_Error on failure.
Since: %ver%
Source: src/Platforms/WSForm/WSFormSourceAdapter.php:290