9 if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) {
10 gravityview()->log->error(
'{file} template loaded without context', array(
'file' => __FILE__ ) );
16 $form = $gravityview->view->form->form;
17 $entry = $gravityview->entry->as_entry();
25 if ( ! class_exists(
'GFQuiz' ) ) {
26 do_action(
'gravityview_log_error', __FILE__ .
': GFQuiz class does not exist.' );
if(! isset( $gravityview)||empty( $gravityview->template)) $field
The default quiz field output template.
if(gv_empty( $value)) if(! class_exists( 'GFQuiz')) $show_answer
static get( $array, $key, $default=null)
Grab a value from an array or an object or default.
gravityview()
The main GravityView wrapper function.
gv_empty( $value, $zero_is_empty=true, $allow_string_booleans=true)
Is the value empty?