Skip to main content

GravityKit\GravityMigrate\Platforms\WSForm\WSFormSourceAdapter

Source: src/Platforms/WSForm/WSFormSourceAdapter.php:47

Details

  • Kind: class
  • Namespace: GravityKit\GravityMigrate\Platforms\WSForm
  • Extends: AbstractSourceAdapter

Properties

PropertyTypeDescription
$section_field_maparray<int,int[]>
$group_field_maparray<int,int[]>
$choice_row_valuesarray<int,array<string, string>>
$composite_section_labelstringThe composite label a section supplied, while its fields are being read.
$logic_field_labelsarray<int,string>
$datetime_kindsarray<string,string|null>
$field_id_maparray<int,int>
$field_label_maparray<int,string>
$merge_tag_messagesstring[]What could not be carried across while translating this form's wording.

Methods

MethodDescription
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

NameTypeDefaultDescription
$source_formarraySource form payload.

Returns

  • array | \WP_Error — Prepared payload array or WP_Error on failure.

Since: %ver%

Source: src/Platforms/WSForm/WSFormSourceAdapter.php:290