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

Go to the source code of this file.

Variables

if(! isset( $gravityview)||empty( $gravityview->template)) $display_value = $gravityview->display_value
 The default quiz score field output template. More...
 
 $field_settings = $gravityview->field->as_configuration()
 
 $form = $gravityview->view->form->form
 
if(gv_empty( $display_value, false, false)) if(class_exists('GFQuiz') && $field_settings['quiz_use_max_score']) else
 

Variable Documentation

◆ $display_value

if (! isset($gravityview)||empty($gravityview->template)) $display_value = $gravityview->display_value

The default quiz score field output template.

$gravityview

Since
2.0

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

◆ $field_settings

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

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

◆ $form

$form = $gravityview->view->form->form

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

◆ else

if (gv_empty($display_value, false, false)) if (class_exists( 'GFQuiz') &&$field_settings[ 'quiz_use_max_score']) else
Initial value:
{
if(! isset( $gravityview)||empty( $gravityview->template)) $display_value
The default quiz score field output template.

Definition at line 29 of file field-gquiz_score-html.php.