GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Variables
field-address-csv.php File Reference

Go to the source code of this file.

Variables

 $display_value = $gravityview->display_value
 
 $entry = $gravityview->entry->as_entry()
 
 $field = $gravityview->field->field
 
if(! isset( $gravityview)||empty( $gravityview->template)) $field_id = $gravityview->field->ID
 The default address field output template. More...
 
 $field_settings = $gravityview->field->as_configuration()
 
 $is_single_input = floor( $field_id ) !== floatval( $field_id )
 
 $value = $gravityview->value
 
if(! $is_single_input) else
 

Variable Documentation

◆ $display_value

double int string $display_value = $gravityview->display_value

Definition at line 17 of file field-address-csv.php.

Referenced by gravityview_get_field_value(), and Field_Template\render().

◆ $entry

$entry = $gravityview->entry->as_entry()

Definition at line 18 of file field-address-csv.php.

◆ $field

$field = $gravityview->field->field

Definition at line 15 of file field-address-csv.php.

◆ $field_id

if (! isset($gravityview)||empty($gravityview->template)) $field_id = $gravityview->field->ID

The default address field output template.

$gravityview

Since
2.0

Definition at line 14 of file field-address-csv.php.

◆ $field_settings

$field_settings = $gravityview->field->as_configuration()

Definition at line 19 of file field-address-csv.php.

◆ $is_single_input

$is_single_input = floor( $field_id ) !== floatval( $field_id )

Definition at line 20 of file field-address-csv.php.

◆ $value

$value = $gravityview->value

Definition at line 16 of file field-address-csv.php.

◆ else

if (! $is_single_input) else
Initial value:
{
gravityview_get_field_value( $entry, $field_id, $display_value)
Handle getting values for complex Gravity Forms fields.
Definition: class-api.php:1034
$display_value
if(! isset( $gravityview)||empty( $gravityview->template)) $field_id
The default address field output template.

Make sure we're only showing enabled inputs.

Use Gravity Forms' method to get the full address.

Runs Filter:
gravityview/template/field/address/csv/delimiter The address parts delimiter.
Since
develop
Parameters
stringThe delimiter. Default: newline

Definition at line 58 of file field-address-csv.php.