TractorCow\AutoComplete\AutoCompleteField::__construct
Signature
public function __construct(string
$name,
[null|string
$title = NULL,
[string
$value = '',
[null|string
$sourceClass = NULL,
[mixed
$sourceFields = NULL]]]] )
Parameters
$name
—
string
- The name of the field.
$title
—
object
- The title to use in the form.
$value
—
string
- The initial value of this field.
$sourceClass
—
object
- The suggestion source class.
$sourceFields
—
mixed
- The suggestion source fields.