Namespacedojox.storage.manager

dojo.require("dojox.storage.manager");
defined in dojox/storage/manager.js

Initializes the storage systems and figures out the best available storage options on this platform.

Usage

function () (view source)

Jump to PropertiesFunctionsBack to top

void Adds an onload listener to know when Dojo Offline can be used.
Autodetects the best possible persistent storage provider
Object Gets the current provider
Returns a list of whatever resources are necessary for storage providers to work.
Initializes the storage system and autodetects the best storage provider we can provide on this platform
Boolean Returns whether any storage options are available.
Boolean Returns whether the storage system is initialized and ready to be used.
The storage provider should call this method when it is loaded and ready to be used. Clients who will use the provider will connect to this method to know when they can use the storage system. You can either use dojo.connect to connect to this function, or can use dojox.storage.manager.addOnLoad() to add a listener that does not depend on the dojo.event package.
Registers the existence of a new storage provider; used by subclasses to inform the manager of their existence. The storage manager will select storage providers based on their ordering, so the order in which you call this method matters.
void Removes the given onLoad listener
Instructs the storageManager to use the given storage class for all storage requests.
Boolean Determines if this platform supports the given storage provider.

Jump to FunctionsPropertiesBack to top

The storage provider that was automagically chosen to do storage on this platform, such as dojox.storage.FlashStorageProvider.