LittleGiant\PersistentGridField\PersistentGridField
Synopsis
class PersistentGridField
extends GridField
{
- // methods
- public void __construct()
- public string getStateHash()
- public void pushCurrentActionHash()
- public array clearUnusedActionHashes()
- public void setStateHash()
- public void updateHashSet()
- public HTML|DBHTMLText|mixed gridFieldAlterAction()
- public DBHTMLText FieldHolder()
Hierarchy
Extends
- SilverStripe\Forms\GridField\GridField
Methods
public
- __construct()
- FieldHolder()
- clearUnusedActionHashes() — Clear any hash from the storage set which isn't the hash we are using
- getStateHash() — Return the current hash for state
- gridFieldAlterAction()
- pushCurrentActionHash() — Push the current action hash into our record of current actions for the page we are on.
- setStateHash() — Set the state hash for the current grid state
- updateHashSet() — Update a hash set in memory and add the new value to it. If the current link has a hash which matches then set that hashes value to the supplied one. Add the new hash to the array of hashes stored in memory.