\StatefulGridFieldState
Synopsis
class StatefulGridFieldState
extends GridState
{
- // members
- private $_stateSessionKey;
- // methods
- public void setValue()
- public {string} getSessionKey()
- public {string} Value()
- public void restoreFromSession()
Hierarchy
Extends
- GridState
Members
private
- $_stateSessionKey
Methods
public
- Value() — Returns a json encoded string representation of this state. Also stores the grid state in the session
- getSessionKey() — Retrieves the session key from the url or generates a new one if it is not already cached
- restoreFromSession() — Restores the grid state from the session
- setValue() — Sets the value of the state, if the list is an instance of StatefulGridFieldList than the list is refreshed from the state