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

Go to the source code of this file.

Variables

 $display_type = isset( $field_settings['choice_display'] ) ? $field_settings['choice_display'] : 'value'
 
 $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 radio field output template. More...
 
 $field_settings = $gravityview->field->as_configuration()
 
 $output = ''
 
if(floatval( $field_id)===floor(floatval( $field_id))) else
 
 foreach ($entry_keys as $input_key)
 

Variable Documentation

◆ $display_type

$display_type = isset( $field_settings['choice_display'] ) ? $field_settings['choice_display'] : 'value'

Definition at line 20 of file field-radio-html.php.

◆ $display_value

$display_value = $gravityview->display_value

Definition at line 16 of file field-radio-html.php.

◆ $entry

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

Definition at line 17 of file field-radio-html.php.

◆ $field

$field = $gravityview->field->field

Definition at line 15 of file field-radio-html.php.

◆ $field_id

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

The default radio field output template.

$gravityview

Since
2.0

Definition at line 14 of file field-radio-html.php.

◆ $field_settings

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

Definition at line 18 of file field-radio-html.php.

◆ $output

$output = ''

Definition at line 22 of file field-radio-html.php.

◆ else

if (floatval($field_id)===floor(floatval($field_id))) else
Initial value:
{
$entry_keys = array_keys( $entry )

Definition at line 32 of file field-radio-html.php.

◆ foreach

foreach( $entry_keys as $input_key)

Definition at line 35 of file field-radio-html.php.