GV\Field_Renderer
The \GV\Field_Renderer class.
Houses some preliminary \GV\Field rendering functionality.
Source: stubs/gravityview.php:336
Details
- Kind:
class - Namespace:
GV - Extends:
GV\Renderer
Methods
| Method | Description |
|---|---|
render() | Renders a \GV\Field instance. |
Method Reference
render()
public function render( \GV\Field $field, \GV\View $view=null, \GV\Source $source=null, \GV\Entry $entry=null, \GV\Request $request=null, $class='\\GV\\Field_HTML_Template' )
Renders a \GV\Field instance.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$field | \GV\Field | ||
$view | \GV\View | null | The view for this context if applicable. |
$source | \GV\Source | null | The source (form) for this context if applicable. |
$entry | \GV\Entry | null | The entry for this context if applicable. |
$request | \GV\Request | null | The request for this context if applicable. |
$class | string | '\GV\Field_HTML_Template' | The field template class. Default: \GV\Field_HTML_Template'. |
Returns
string— The rendered Field
Since:
Source: stubs/gravityview.php:354