PHP Class Horde_Token_Mongo, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Token_Base
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_db MongoCollection The MongoDB Collection object for the token data.

Public Methods

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

Method Details

__construct() public method

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 method

public add ( $tokenID )

exists() public method

public exists ( $tokenID )

purge() public method

public purge ( )

Property Details

$_db protected_oe property

The MongoDB Collection object for the token data.
protected MongoCollection $_db
return MongoCollection