PHP Class Ingo_Storage_Mongo, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Ingo_Storage, implements Horde_Mongo_Collection_Index
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_indices array Indices list.

Public Methods

Method Description
__construct ( array $params = [] )
checkMongoIndices ( )
createMongoIndices ( )

Protected Methods

Method Description
_loadFromBackend ( )
_removeUserData ( $user )
_storeBackend ( $action, $rule )

Method Details

__construct() public method

public __construct ( array $params = [] )
$params array Parameters: - collection: (string) The name of the storage collection. - mongo_db: (Horde_Mongo_Client) [REQUIRED] The DB instance.

_loadFromBackend() protected method

protected _loadFromBackend ( )

_removeUserData() protected method

protected _removeUserData ( $user )

_storeBackend() protected method

protected _storeBackend ( $action, $rule )

checkMongoIndices() public method

public checkMongoIndices ( )

createMongoIndices() public method

public createMongoIndices ( )

Property Details

$_indices protected_oe property

Indices list.
protected array $_indices
return array