abstract class AbstractField implements FieldInterface (View source)

Properties

protected array $data

The current search data.

protected array $requestVariables

The list of all the request variables.

Methods

string
renderSearchField()

Generates the HTML for the search form (or an empty string if search is not supported).

__construct(array|mixed $data = null)

Initialize the instance.

jsonSerialize()

{@inheritdoc}

loadDataFromRequest(array $request)

Set the search criteria.

Details

string renderSearchField()

Generates the HTML for the search form (or an empty string if search is not supported).

Return Value

string

See also

FieldInterface::renderSearchField

__construct(array|mixed $data = null)

Initialize the instance.

Parameters

array|mixed $data

the current search data

jsonSerialize()

{@inheritdoc}

See also

\JsonSerializable::jsonSerialize()

loadDataFromRequest(array $request)

Set the search criteria.

Parameters

array $request

See also

FieldInterface::loadDataFromRequest