class AttributeStore extends AbstractRequestAwareStore (View source)

Stores GridField action state on an attribute on the action and then analyses request parameters to load it back

Methods

array
save(string $id, array $state)

Save the given state against the given ID returning an associative array to be added as attributes on the form action

array
load(string $id)

Load state for a given ID

Details

array save(string $id, array $state)

Save the given state against the given ID returning an associative array to be added as attributes on the form action

Parameters

string $id
array $state

Return Value

array

array load(string $id)

Load state for a given ID

Parameters

string $id

Return Value

array