class SessionStore extends AbstractRequestAwareStore implements StateStore (View source)

Stores GridField action state in the session in exactly the same way it has in the past

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