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

Go to the source code of this file.

Variables

 $column_id = gravityview_get_input_id_from_id( $field_id )
 
 $display_value = $gravityview->display_value
 
 $field = $gravityview->field->field
 
if(! isset( $gravityview)||empty( $gravityview->template)) $field_id = $gravityview->field->ID
 The default list field output template. More...
 
if( $field->enableColumns) $output = array()
 
 $value = $gravityview->value
 
if( $field->enableColumns &&false !==$column_id) else
 
 foreach ($value as $column)
 

Variable Documentation

◆ $column_id

$column_id = gravityview_get_input_id_from_id( $field_id )

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

◆ $display_value

$display_value = $gravityview->display_value

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

◆ $field

$field = $gravityview->field->field

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

◆ $field_id

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

The default list field output template.

$gravityview

Since
2.0

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

◆ $output

if ($field->enableColumns) $output = array()

Definition at line 51 of file field-list-csv.php.

◆ $value

$value = $gravityview->value

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

◆ else

if ($field->enableColumns &&false !==$column_id) else
Initial value:
{
$glue = apply_filters( 'gravityview/template/field/csv/glue', ";", $gravityview )
Runs Filter:
gravityview/fields/list/column-format Format of single list column output of a List field with Multiple Columns enabled
Since
1.14
Parameters
string$formathtml (for
), text (for CSV output)
Since
2.0
Parameters
\GV\Template_Context$gravityviewThe context

Definition at line 34 of file field-list-csv.php.

◆ foreach

foreach( $value as $column)

Definition at line 52 of file field-list-csv.php.