FOF30\Render\RenderBase::renderForm PHP Метод

renderForm() публичный Метод

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.
Результат string The HTML rendering of the form
    function renderForm(Form &$form, DataModel $model, $formType = null, $raw = false)
    {
        throw new \LogicException(sprintf('Renderer class %s must implement the %s method', get_class($this), __METHOD__));
    }