GravityView  2.1.1
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions
Field_Renderer Class Reference

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

Inheritance diagram for Field_Renderer:
Renderer

Public Member Functions

 render (Field $field, View $view=null, Source $source=null, Entry $entry=null, Request $request=null, $class='\GV\Field_HTML_Template')
 Renders a 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...
 

Detailed Description

If this file is called directly, abort.

The class.

Houses some preliminary rendering functionality.

Definition at line 14 of file class-gv-renderer-field.php.

Member Function Documentation

◆ render()

render ( Field  $field,
View  $view = null,
Source  $source = null,
Entry  $entry = null,
Request  $request = null,
  $class = '\GV\Field_HTML_Template' 
)

Renders a instance.

Parameters
\GV\Field$requestThe field.
\GV\View$viewThe view for this context if applicable.
\GV\Source$sourceThe source (form) for this context if applicable.
\GV\Entry$entryThe entry for this context if applicable.
\GV\Request$requestThe request for this context if applicable.
string$classThe field template class. Default: '.
Since
2.0
2.1 Added Field Template class $class parameter
Returns
string The rendered Field
Runs Filter:
gravityview/template/field/class Filter the template class that is about to be used to render the view.
Since
2.0
Parameters
string$classThe chosen class - Default: .
\GV\Field$fieldThe field about to be rendered.
\GV\View$viewThe view in this context, if applicable.
\GV\Source$sourceThe source (form) in this context, if applicable.
\GV\Entry$entryThe entry in this context, if applicable.
\GV\Request$requestThe request in this context, if applicable.

Definition at line 32 of file class-gv-renderer-field.php.

References $class, $entry, and gravityview().


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