class TypeField extends AbstractField (View source)

Properties

protected array $data

The current search data.

from  AbstractField
protected $requestVariables

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.

string
getKey()

Get the field key.

string
getDisplayName()

Get the field display name.

filterList(ItemList $list)

No description

Details

string renderSearchField()

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

Return Value

string

__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

string getKey()

Get the field key.

Return Value

string

string getDisplayName()

Get the field display name.

Return Value

string

filterList(ItemList $list)

No description

Parameters

ItemList $list