Class: I2CE MagicDataStorageMongoDB (Development)

From IHRIS Wiki


This article describes the class I2CE_MagicDataStorageMongoDB .

Variables

$m

, mongodb connection

$mdb

@var protected $m, mongodb

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

isAvailable()

renameChild()

Renames a child node

renameDecendents()

Rename the descenedent children for which we need to rename its paths

retrieve()

Retrieve the given I2CE_MagicDataNode value and type.

setupIndices()

Setup the indices of a config collection @param MongoCollection

store()

Store the given I2CE_MagicDataNode into mongodb

Inherited Methods

getChildPath()

This public method is inherited from I2CE_MagicDataStorage->getChildPath()

getHash()

This public method is inherited from I2CE_MagicDataStorage->getHash()

Inherited Variables

$name

Theis protected variable is inherited from I2CE_MagicDataStorage->$name