PHP Class Horde_Token_Mongo, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Token_Base
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_db MongoCollection The MongoDB Collection object for the token data.

Méthodes publiques

Méthode Description
__construct ( array $params = [] ) Constructor.
add ( $tokenID )
exists ( $tokenID )
purge ( )

Method Details

__construct() public méthode

Constructor.
public __construct ( array $params = [] )
$params array Parameters: - collection: (string) The collection name. - mongo_db: [REQUIRED] (Horde_Mongo_Client) A MongoDB client object.

add() public méthode

public add ( $tokenID )

exists() public méthode

public exists ( $tokenID )

purge() public méthode

public purge ( )

Property Details

$_db protected_oe property

The MongoDB Collection object for the token data.
protected MongoCollection $_db
Résultat MongoCollection