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 | |
extract_zone_vars ( $zones) | |
Return an array of variables ready to be extracted. More... | |
the_field (\GV\Field $field, $extras=null) | |
Output the field in the list view. 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 = 'list' |
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 List Template class .
Renders a using a .
Definition at line 14 of file class-gv-template-entry-list.php.
extract_zone_vars | ( | $zones | ) |
Return an array of variables ready to be extracted.
string | array | $zones | The field zones to grab. |
Definition at line 85 of file class-gv-template-entry-list.php.
the_field | ( | \GV\Field | $field, |
$extras = null |
|||
) |
Output the field in the list view.
\GV\Field | $field | The field to output. |
array | $extras | Extra stuff, like wpautop, etc. |
gravityview/template/field/label
Override the field label. string | $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 28 of file class-gv-template-entry-list.php.
References $entry, GV\$form, $label, $value, GF_Form\by_id(), and gravityview_field_output().
|
static |
Definition at line 18 of file class-gv-template-entry-list.php.