PHP Class IMP_Sentmail_Sql, horde

Author: Jan Schneider ([email protected])
Author: Michael Slusarz ([email protected])
Inheritance: extends IMP_Sentmail
Show file Open project: horde/horde

Protected Properties

Property Type Description
$_db Horde_Db_Adapter Handle for the current database connection.

Public Methods

Method Description
__construct ( array $params = [] )
favouriteRecipients ( $limit, $filter = null )
numberOfRecipients ( $hours, $user = false )

Protected Methods

Method Description
_deleteOldEntries ( $before )
_log ( $action, $message_id, $recipient, $success )

Method Details

__construct() public method

public __construct ( array $params = [] )
$params array Parameters: - db: (Horde_Db_Adapter) [REQUIRED] The DB instance. - table: (string) The name of the sentmail table. DEFAULT: 'imp_sentmail'

_deleteOldEntries() protected method

protected _deleteOldEntries ( $before )

_log() protected method

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

favouriteRecipients() public method

public favouriteRecipients ( $limit, $filter = null )

numberOfRecipients() public method

public numberOfRecipients ( $hours, $user = false )

Property Details

$_db protected property

Handle for the current database connection.
protected Horde_Db_Adapter $_db
return Horde_Db_Adapter