GravityView  2.9.2
The best, easiest way to display Gravity Forms entries on your website.
Variables
views/table/table-body.php File Reference

Go to the source code of this file.

Variables

if(! isset( $gravityview)||empty( $gravityview->template)) $template = $gravityview->template
 The entry loop for the table output. More...
 
if(! $gravityview->entries->count()) else
 

Variable Documentation

◆ $template

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

The entry loop for the table output.

$gravityview

Parameters
\GV\View_Table_Template$template

Definition at line 14 of file views/table/table-body.php.

◆ else

if (! $gravityview->entries->count()) else
Initial value:
{
foreach ( $gravityview->entries->all() as $entry ) {
$alt = empty( $alt ) ? 'alt' : '';
$class = $template::entry_class( $alt, $entry, $gravityview );
$attributes = array(
'class' => $class,
);
$template->the_entry( $entry, $attributes );
}
}
$template::body_after( $gravityview )
$class
if(! isset( $gravityview)||empty( $gravityview->template)) $template
The entry loop for the table output.
$entry
Definition: notes.php:27
Runs Actions:
gravityview/template/table/tr/before
Runs Actions:
gravityview/template/table/tr/after

Definition at line 42 of file views/table/table-body.php.