class GridFieldStateManager implements GridFieldStateManagerInterface (View source)

Creates a unique key for the gridfield, and uses that to write to and retrieve its state from the request

Methods

string
getStateKey(GridField $gridField)

No description

string
addStateToURL(GridField $gridField, string $url)

No description

string|null
getStateFromRequest(GridField $gridField, HTTPRequest $request)

No description

Details

string getStateKey(GridField $gridField)

Parameters

GridField $gridField

Return Value

string

string addStateToURL(GridField $gridField, string $url)

Parameters

GridField $gridField
string $url

Return Value

string

string|null getStateFromRequest(GridField $gridField, HTTPRequest $request)

Parameters

GridField $gridField
HTTPRequest $request

Return Value

string|null