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:

  • Form model

    Romm\Formz\Form\FormInterface — must be implemented by the model of your form.

  • Form validator

    Romm\Formz\Validation\Validator\Form\AbstractFormValidator — must be inherited by your form validator.

  • Validator

    Romm\Formz\Validation\Validator\AbstractValidator — must be inherited by your validators.

  • Behaviour

    Romm\Formz\Behaviours\AbstractBehaviour — must be inherited by your behaviours.