FOFRenderAbstract::renderForm
Renders a FOFForm and returns the corresponding HTML
Signature
public function renderForm(FOFForm&
$form,
[FOFModel
$model = null,
[FOFInput
$input = null,
[string
$formType = null,
[boolean
$raw = false]]]] )
Parameters
-
$form
-
$model
- The model providing our data
-
$input
- The input object
-
$formType
- The form type: edit, browse or read
-
$raw
- If true, the raw form fields rendering (without the surrounding form tag) is returned.
Returns
- string
- The HTML rendering of the form