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 | |
render (Entry $entry, View $view, Request $request=null) | |
Renders a single instance. More... | |
Public Member Functions inherited from Renderer | |
__construct () | |
Initialization. More... | |
legacy_template_warning ( $view, $path) | |
Warn about legacy template being used. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Renderer | |
static | maybe_print_notices ( $gravityview=null) |
Print unconfigured notices to admins. More... | |
If this file is called directly, abort.
The class.
Houses some preliminary rendering functionality.
Definition at line 14 of file class-gv-renderer-entry.php.
Renders a single instance.
\GV\Entry | $entry | The Entry instance to render. |
\GV\View | $view | The View connected to the entry. |
\GV\Request | $request | The request context we're currently in. Default: gravityview()->request |
This View is password protected. Output the form.
gravityview_render_entry_{View ID}
Before rendering a single entry for a specific View ID \GV\Entry | $entry | The entry about to be rendered |
\GV\View | $view | The connected view |
\GV\Request | $request | The associated request |
Entry does not belong to this view.
gravityview_template_slug_{$template_id}
Modify the template slug about to be loaded in directory views. deprecated |
gravityview_get_template_id
filter string | $slug | Default: 'table' |
string | $view | The current view context: single |
Load a legacy override template if exists.
We have to bail and call the legacy renderer. Crap!
Show a warning at the top, if View is editable by the user.
gravityview/template/entry/class
Filter the template class that is about to be used to render the entry. string | $class | The chosen class - Default: . |
\GV\Entry | $entry | The entry about to be rendered. |
\GV\View | $view | The view connected to it. |
\GV\Request | $request | The associated request. |
Mock the legacy state for the widgets and whatnot
Definition at line 28 of file class-gv-renderer-entry.php.
References $class, $entries, $template, gravityview(), and Legacy_Context\push().