AutocompleteField::__construct
Overloading constructor to add data parameter to populate the suggestion data with.
Signature
public function __construct(string
$name,
[string
$title = NULL,
[array
$data = ,
[string
$value = '',
[int
$maxLength = NULL,
[Form
$form = NULL]]]]] )
Parameters
$name
— string$title
— string$data
— array$value
— string$maxLength
— int$form
— object