PHP Класс IMP_Sentmail_Mongo, horde

Автор: Michael Slusarz ([email protected])
Наследование: extends IMP_Sentmail, implements Horde_Mongo_Collection_Index
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_db MongoCollection Handle for the current database connection.
$_indices array Indices list.

Открытые методы

Метод Описание
__construct ( array $params = [] )
checkMongoIndices ( )
createMongoIndices ( )
favouriteRecipients ( $limit, $filter = null )
numberOfRecipients ( $hours, $user = false )

Защищенные методы

Метод Описание
_deleteOldEntries ( $before )
_log ( $action, $message_id, $recipient, $success )

Описание методов

__construct() публичный Метод

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

_deleteOldEntries() защищенный Метод

protected _deleteOldEntries ( $before )

_log() защищенный Метод

protected _log ( $action, $message_id, $recipient, $success )

checkMongoIndices() публичный Метод

public checkMongoIndices ( )

createMongoIndices() публичный Метод

public createMongoIndices ( )

favouriteRecipients() публичный Метод

public favouriteRecipients ( $limit, $filter = null )

numberOfRecipients() публичный Метод

public numberOfRecipients ( $hours, $user = false )

Описание свойств

$_db защищенное свойство

Handle for the current database connection.
protected MongoCollection $_db
Результат MongoCollection

$_indices защищенное свойство

Indices list.
protected array $_indices
Результат array