GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
If this file is called directly, abort. More...
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 | |
$entry | |
$request | |
$view | |
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/' | |
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.
the_entry | ( | ) |
Out the single entry table body.
$fields
gravityview_table_cells
Modify the fields displayed in a table array | $fields | |
\GravityView_View | $this |
gravityview/template/table/fields
Modify the fields displayed in this tables. \GV\Field_Collection | $fields | The fields. |
\GV\Template_Context | $context | The context. |
gravityview/template/field/label
Override the field label. string | $column_label | The label to override. |
\GV\Template_Context | $context | The context. |
gravityview/template/table/entry/hide_empty
boolean | $hide_empty | Should the row be hidden if the value is empty? Default: don't hide. |
\GV\Template_Context | $context | The 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 | ( | \GV\Field | $field | ) |
Output a field cell.
\GV\Field | $field | The field to be ouput. |
Definition at line 27 of file class-gv-template-entry-table.php.
|
static |
Definition at line 18 of file class-gv-template-entry-table.php.