\Pop\Form\TemplateAbstractTemplate

Form template abstract class

Summary

Methods
Properties
Constants
getTemplate()
setTemplate()
render()
No public properties found
No constants found
renderTemplate()
$template
$form
$output
N/A
No private methods found
No private properties found
N/A

Properties

$template

$template : string

Form template

Type

string

$output

$output : string

Form output string

Type

string

Methods

getTemplate()

getTemplate() : string

Get form template

Returns

string

render()

render(\Pop\Form\Form  $form) : string

Render the form and return the output

Parameters

\Pop\Form\Form $form

Throws

\Pop\Form\Template\Exception

Returns

string

renderTemplate()

renderTemplate() : void

Render form template file