CatalogueSearchForm::__construct
Initiate the standard Metadata catalogue search form. The additional parameter $defaults defines the default values for the form.
Signature
Parameters
$controller
—
object
- The parent controller, necessary to create the appropriate form action tag.
$name
—
object
- The method on the controller that will return this form object.
$fields
—
FieldSet
- All of the fields in the form - a {@link FieldSet} of {@link FormField} objects.
$actions
—
FieldSet
- All of the action buttons in the form - a {@link FieldSet} of {@link FormAction} objects
$validator
—
object
- Override the default validator instance (Default: {@link RequiredFields})
$defaults
—
object
- Override the default values of the form.