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, \GV\Entry $entry, $extras=null) | |
Output the field in the list view. More... | |
Public Member Functions inherited from View_Template | |
__construct (View $view, Entry_Collection $entries, Request $request) | |
Initializer. More... | |
__destruct () | |
add_id_specific_templates ( $templates, $slug, $name) | |
Enable granular template overrides based on current post, view, form, etc. 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 Member Functions | |
static | body_after ( $context) |
gravityview_list_body_after and gravityview/template/list/body/after actions. More... | |
static | body_before ( $context) |
gravityview_list_body_before and gravityview/template/list/body/before actions. More... | |
static | entry_after ( $entry, $context, $zone='') |
gravityview_list_entry_after and gravityview/template/list/entry/after actions. More... | |
static | entry_before ( $entry, $context, $zone='') |
gravityview_list_entry_before and gravityview/template/list/entry/before actions. More... | |
static | entry_class ( $class, $entry, $context) |
gravityview_entry_class and gravityview/template/list/entry/class filters. More... | |
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... | |
Static Public Attributes | |
static | $slug = 'list' |
Static Public Attributes inherited from View_Template | |
static | $slug |
Additional Inherited Members | |
Data Fields inherited from View_Template | |
$entries | |
$request | |
$view | |
Data Fields inherited from Template | |
$located_template = '' | |
Protected Attributes inherited from View_Template | |
$filter_prefix = 'gravityview/template/views' | |
$plugin_template_directory = 'templates/views/' | |
$theme_template_directory = 'gravityview/views/' | |
If this file is called directly, abort.
The View List Template class .
Renders a and a via a .
Definition at line 14 of file class-gv-template-view-list.php.
|
static |
gravityview_list_body_after
and gravityview/template/list/body/after
actions.
Output inside the tbody
of the list.
$context | The 2.0 context. |
gravityview/template/list/body/after
Output inside the tbody
of the list at the end. \GV\Template_Context | $context | The template context. |
gravityview_list_body_after
Inside the tbody
, after any rows are rendered. Can be used to insert additional rows. \GravityView_View | $gravityview_view | Current GravityView_View object. |
ugh!
Definition at line 185 of file class-gv-template-view-list.php.
References GravityView_View\getInstance().
|
static |
gravityview_list_body_before
and gravityview/template/list/body/before
actions.
Output inside the tbody
of the list.
$context | The 2.0 context. |
gravityview/template/list/body/before
Output inside the tbody
of the list. \GV\Template_Context | $context | The template context. |
gravityview_list_body_before
Inside the tbody
, before any rows are rendered. Can be used to insert additional rows. \GravityView_View | $gravityview_view | Current GravityView_View object. |
ugh!
Definition at line 159 of file class-gv-template-view-list.php.
References GravityView_View\getInstance().
|
static |
gravityview_list_entry_after
and gravityview/template/list/entry/after
actions.
gravityview_list_entry_title_after
and gravityview/template/list/entry/title/after
actions. gravityview_list_entry_content_after
and gravityview/template/list/entry/content/after
actions. gravityview_list_entry_footer_after
and gravityview/template/list/entry/footer/after
actions.
Output inside the entry
of the list.
\GV\Entry | $entry | The entry. |
\GV\Template_Context | $context | The 2.0 context. |
string | $zone | The list zone (footer, image, title, etc.). |
gravityview/template/list/entry/$zone/after
Output inside the entry
of the list at the end. \GV\Template_Context | $context | The template context. |
gravityview_list_entry_$zone_after
Inside the entry
, after any rows are rendered. Can be used to insert additional rows. \GravityView_View | $gravityview_view | Current GravityView_View object. |
ugh!
Definition at line 251 of file class-gv-template-view-list.php.
References $entry, and GravityView_View\getInstance().
|
static |
gravityview_list_entry_before
and gravityview/template/list/entry/before
actions.
gravityview_list_entry_title_before
and gravityview/template/list/entry/title/before
actions. gravityview_list_entry_content_before
and gravityview/template/list/entry/content/before
actions. gravityview_list_entry_footer_before
and gravityview/template/list/entry/footer/before
actions.
Output inside the entry
of the list.
\GV\Entry | $entry | The entry. |
\GV\Template_Context | $context | The 2.0 context. |
string | $zone | The list zone (footer, image, title, etc.). |
gravityview/template/list/entry/$zone/before
Output inside the entry
of the list at the end. \GV\Template_Context | $context | The template context. |
gravityview_list_entry_$zone_before
Inside the entry
, before any rows are rendered. Can be used to insert additional rows. \GravityView_View | $gravityview_view | Current GravityView_View object. |
ugh!
Definition at line 216 of file class-gv-template-view-list.php.
References $entry, and GravityView_View\getInstance().
|
static |
gravityview_entry_class
and gravityview/template/list/entry/class
filters.
Modify of the class of a row.
string | $class | The class. |
\GV\Entry | $entry | The entry. |
gravityview_entry_class
Modify the class applied to the entry row. string | $class | Existing class. |
array | $entry | Current entry being displayed |
\GravityView_View | $this | Current GravityView_View object |
gravityview/template/list/entry/class
Modify the class aplied to the entry row. string | $class | The existing class. |
Definition at line 130 of file class-gv-template-view-list.php.
References $class, $entry, and GravityView_View\getInstance().
extract_zone_vars | ( | $zones | ) |
Return an array of variables ready to be extracted.
string | array | $zones | The field zones to grab. |
Definition at line 104 of file class-gv-template-view-list.php.
Output the field in the list view.
\GV\Field | $field | The field to output. |
\GV\Entry | $entry | The entry. |
array | $extras | Extra stuff, like wpautop, etc. |
Push legacy entry context.
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 | 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 29 of file class-gv-template-view-list.php.
References GV\$form, $label, $value, gravityview_field_output(), and Legacy_Context\load().
|
static |
Definition at line 18 of file class-gv-template-view-list.php.