DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
API — PHP¶
Tip
You can find a recap of the useful PHP classes/functions in the chapter “PHP cheat-sheets”.
To create a form, you will have to use the following classes:
-
Romm\Formz\Form\FormInterface
— must be implemented by the model of your form. -
Romm\Formz\Validation\Validator\Form\AbstractFormValidator
— must be inherited by your form validator. -
Romm\Formz\Validation\Validator\AbstractValidator
— must be inherited by your validators. -
Romm\Formz\Behaviours\AbstractBehaviour
— must be inherited by your behaviours.