ElasticSearchForm::__construct
Signature
public function __construct(Controller
$controller,
string
$name,
[FieldList
$fields = NULL,
[FieldList
$actions = NULL]] )
Parameters
$controller
— object
$name
— string- The name of the form (used in URL addressing)
$fields
— object- Optional, defaults to a single field named "Search". Search logic needs to be customized
if fields are added to the form. $actions
— object- Optional, defaults to a single field named "Go".