Skip to main content

GV\Entry_Renderer

The \GV\Entry_Renderer class.

Houses some preliminary \GV\Entry rendering functionality.

Source: stubs/gravityview.php:97

Details​

  • Kind: class
  • Namespace: GV
  • Extends: GV\Renderer

Methods​

MethodDescription
render()Renders a single \GV\Entry instance.

Method Reference​

render()​

public function render( \GV\Entry $entry, \GV\View $view, \GV\Request $request=null )

Renders a single \GV\Entry instance.

Parameters​

NameTypeDefaultDescription
$entry\GV\EntryThe Entry instance to render.
$view\GV\ViewThe View connected to the entry.
$request\GV\RequestnullThe request context we're currently in. Default: gravityview()->request

Returns​

  • string — The rendered Entry.

Since: 2.0

Source: stubs/gravityview.php:111