Class: I2CE MagicDataStorage (Development): Difference between revisions

From IHRIS Wiki
(Created page with '{{otherversions|Class: I2CE_MagicDataStorage}} This article describes the ''abstract'' class ''I2CE_MagicDataStorage'' . *Child Classes: ** [[Class: I2CE_MagicDataStorageAPC (Dev…')
 
No edit summary
Line 7: Line 7:
** [[Class: I2CE_MagicDataStorageMem (Development) | I2CE_MagicDataStorageMem]]
** [[Class: I2CE_MagicDataStorageMem (Development) | I2CE_MagicDataStorageMem]]
** [[Class: I2CE_MagicDataStorageMemcached (Development) | I2CE_MagicDataStorageMemcached]]
** [[Class: I2CE_MagicDataStorageMemcached (Development) | I2CE_MagicDataStorageMemcached]]
** [[Class: I2CE_MagicDataStorageSysV (Development) | I2CE_MagicDataStorageSysV]]
** [[Class: I2CE_MagicDataStorageMongoDB (Development) | I2CE_MagicDataStorageMongoDB]]
*Location: Part of the module [[I2CE Module List (Development)#I2CE|I2CE]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev
*Location: Part of the module [[I2CE Module List (Development)#I2CE|I2CE]] in the package [https://launchpad.net/i2ce I2CE] 4.0-dev
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/lib/I2CE_MagicDataStorage.php#L30 lib/I2CE_MagicDataStorage.php] on line 30
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/annotate/head:/lib/I2CE_MagicDataStorage.php#L30 lib/I2CE_MagicDataStorage.php] on line 30

Revision as of 08:53, 27 May 2010


This article describes the abstract class I2CE_MagicDataStorage .

Configuration class to lookup and save configuration options.

Variables

$name

The name associated with this storage object.

Methods

__construct()

Create a new instance for magic data storage.

clear()

Clear the all keys/values associated with this storage

destroy()

Erases the given I2CE_MagicDataNode from the storage mechanism @param I2CE_MagicDataNode @param boolean. True on sucess

getHash()

Return the md5 Hash of the path of this object.

isAvailable()

Returns true if this storage mechanism is ready to be used. false otherwise.

retrieve()

Retrieve the given I2CE_MagicDataNode value and type.

store()

Store the given I2CE_MagicDataNode into the database.