FormModelInterface

Interface for a form model.

since

4.0.0

package

Joomla CMS

Methods

getForm

Method for getting a form.

getForm(mixed||string|int data = [],  loadData = true) : \Joomla\CMS\Form\Form
since

4.0.0

throws

Exception

Arguments

data

array<string|int, mixed>Data for the form.

loadData

boolTrue if the form is to load its own data (default case), false if not.

Response

Form