GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Namespaces | Variables
quiz.php File Reference

Go to the source code of this file.

Namespaces

 GravityView
 GPL2+
 

Variables

 $field = $gravityview_view->getCurrentField()
 
 $gravityview_view = GravityView_View::getInstance()
 
if(gv_empty( $field['value'], false, false)) if(! class_exists('GFQuiz')) $show_answer = \GV\Utils::get( $field, 'field_settings/quiz_show_explanation' )
 
$field [ 'field'] gquizShowAnswerExplanation = ! empty( $show_answer )
 

Variable Documentation

◆ $field

$field = $gravityview_view->getCurrentField()

Definition at line 11 of file quiz.php.

◆ $gravityview_view

$gravityview_view = GravityView_View::getInstance()

Definition at line 9 of file quiz.php.

◆ $show_answer

if (gv_empty($field[ 'value'], false, false)) if (! class_exists( 'GFQuiz')) $show_answer = \GV\Utils::get( $field, 'field_settings/quiz_show_explanation' )

Definition at line 24 of file quiz.php.

◆ gquizShowAnswerExplanation

$field ['field'] gquizShowAnswerExplanation = ! empty( $show_answer )

Definition at line 27 of file quiz.php.