FOF30\Render\RenderInterface::renderForm PHP Method

renderForm() public method

Renders a Form and returns the corresponding HTML
public renderForm ( Form &$form, DataModel $model, string $formType = null, boolean $raw = false ) : string
$form FOF30\Form\Form
$model FOF30\Model\DataModel The model providing our data
$formType string The form type: edit, browse or read
$raw boolean If true, the raw form fields rendering (without the surrounding form tag) is returned.
return string The HTML rendering of the form
    function renderForm(Form &$form, DataModel $model, $formType = null, $raw = false);