See Issue #64031
API Methods ¶
The API provides two objects available in the top frame attached to the global TYPO3 object:
Each object has the following API methods
get(key)To fetch the data behind the key.
set(key, value)To set/override a key with any arbitrary content.
isset(key)(bool) checks if the key is in use.
clear()to empty all data inside the storage.
To fetch data from the persistent user configuration, simple use the key known already:
Storing / Updating data in the storage works like this, and can contain any data type.
The same is possible for browserStorage using top.TYPO3.Storage.Client.