JModelForm::preprocessForm
Method to allow derived classes to preprocess the form.
Signature
protected function preprocessForm(JForm
$form,
[mixed
$data = 'content',
[string
$group = 'content']] )
Parameters
-
$form
- A JForm object.
-
$data
- The data expected for the form.
-
$group
- The name of the plugin group to import (defaults to "content").
Returns
- void
Errors/Exceptions
-
Exception
- if there is an error in the form event.