GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Static Public Attributes
Entry_Table_Template Class Reference

If this file is called directly, abort. More...

Inheritance diagram for Entry_Table_Template:
Entry_Template Template

Public Member Functions

 the_entry ()
 Out the single entry table body. More...
 the_field (\GV\Field $field)
 Output a field cell. More...
- Public Member Functions inherited from Entry_Template
 __construct (Entry $entry, View $view, Request $request)
 Initializer. More...
 __destruct ()
 add_id_specific_templates ( $templates, $slug, $name)
 Enable granular template overrides based on current post, view, form, etc. More...
 get_back_label ( $do_replace=true)
 Fetch the back link label for an entry context. More...
 render ()
 Output some HTML. More...
- Public Member Functions inherited from Template
 __construct ()
 General template initialization. More...
 __destruct ()
 Disallow any cleanup for fear of loss of global data. More...
 pop_template_data ( $var_name='data')
 Restore the template data from the stack. More...
 push_template_data ( $data, $var_name='data')
 Push the current template data down the stack and set. More...

Static Public Attributes

static $slug = 'table'
- Static Public Attributes inherited from Entry_Template
static $slug

Additional Inherited Members

- Static Public Member Functions inherited from Template
static split_slug ( $slug, $name=null)
 Get a directory part and a full slug+name (file) components. More...
- Data Fields inherited from Entry_Template
- Data Fields inherited from Template
 $located_template = ''
- Protected Attributes inherited from Entry_Template
 $filter_prefix = 'gravityview/template/entries'
 $plugin_template_directory = 'templates/entries/'
 $theme_template_directory = 'gravityview/entries/'

Detailed Description

If this file is called directly, abort.

The Entry Table Template class .

Renders a using a .

Definition at line 14 of file class-gv-template-entry-table.php.

Member Function Documentation

◆ the_entry()

the_entry ( )

Out the single entry table body.



Runs Filter:
gravityview_table_cells Modify the fields displayed in a table
Runs Filter:
gravityview/template/table/fields Modify the fields displayed in this tables.
\GV\Field_Collection$fieldsThe fields.
\GV\Template_Context$contextThe context.
Runs Filter:
gravityview/template/field/label Override the field label.
string$column_labelThe label to override.
\GV\Template_Context$contextThe context.
Runs Filter:
boolean$hide_emptyShould the row be hidden if the value is empty? Default: don't hide.
\GV\Template_Context$contextThe context ;) Love it, cherish it. And don't you dare modify it!

Definition at line 39 of file class-gv-template-entry-table.php.

References $entry, $field, GV\$form, GF_Form\by_id(), GravityView_View\getInstance(), and gravityview_field_output().

◆ the_field()

the_field ( \GV\Field  $field)

Output a field cell.

\GV\Field$fieldThe field to be ouput.
string|false The field output or false if "hide_empty" is set.

Definition at line 27 of file class-gv-template-entry-table.php.

Field Documentation

◆ $slug

$slug = 'table'

Definition at line 18 of file class-gv-template-entry-table.php.

The documentation for this class was generated from the following file: