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

public
string
getStateKey(GridField $gridField)

No description

public
string
addStateToURL(GridField $gridField, string $url)

No description

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

No description

Details

string getStateKey(GridField $gridField)

No description

Parameters

GridField $gridField

Return Value

string

string addStateToURL(GridField $gridField, string $url)

No description

Parameters

GridField $gridField
string $url

Return Value

string

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

No description

Parameters

GridField $gridField
HTTPRequest $request

Return Value

string|null