interface RegistryDataInterface (View source)

Methods

public
getSearchFields()

A FieldList containing FormField objects that represent the fields in the data search form.

Details

FieldList getSearchFields()

A FieldList containing FormField objects that represent the fields in the data search form.

Example:

public function getSearchFields()
{
    return new FieldList(
        new TextField('FirstName', 'First name'),
        new TextField('Surname', 'Surname')
    );
}

Return Value

FieldList