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

public
getRequest()

No description

public
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

public
array
load(string $id)

Load state for a given ID

Details

HTTPRequest getRequest()

No description

Return Value

HTTPRequest

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