AssociationField
class AssociationField extends AbstractField (View source)
Properties
protected array | $data | The current search data. |
from AbstractField |
protected array | $requestVariables | The list of all the request variables. |
from AbstractField |
protected Association | $association | ||
protected | $associationID |
Methods
Generates the HTML for the search form (or an empty string if search is not supported).
Get the field key.
Get the field display name.
No description
Return an array with the names of the properties to be serialized.
Initialize the instance once it has been deserialized.
Details
string
renderSearchField()
Generates the HTML for the search form (or an empty string if search is not supported).
__construct(Association $association)
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.
protected
getSelectedEntry()
No description
filterList(ItemList $list)
Apply the filter to an ItemList instance.
string[]
__sleep()
Return an array with the names of the properties to be serialized.
__wakeup()
Initialize the instance once it has been deserialized.