XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Plugins_Reporters_HitReporter Class Reference
Inheritance diagram for Swift_Plugins_Reporters_HitReporter:
Inheritance graph

Public Member Functions

 clear ()
 
 getFailedRecipients ()
 
 notify (Swift_Mime_Message $message, $address, $result)
 

Private Attributes

 $_failures = array()
 
 $_failures_cache = array()
 

Additional Inherited Members

- Public Attributes inherited from Swift_Plugins_Reporter
const RESULT_FAIL = 0x10
 
const RESULT_PASS = 0x01
 

Detailed Description

Definition at line 20 of file HitReporter.php.

Member Function Documentation

Swift_Plugins_Reporters_HitReporter::clear ( )

Clear the buffer (empty the list).

Definition at line 58 of file HitReporter.php.

Swift_Plugins_Reporters_HitReporter::getFailedRecipients ( )

Get an array of addresses for which delivery failed.

Returns
array

Definition at line 50 of file HitReporter.php.

References $_failures.

Swift_Plugins_Reporters_HitReporter::notify ( Swift_Mime_Message  $message,
  $address,
  $result 
)

Notifies this ReportNotifier that $address failed or succeeded.

Parameters
Swift_Mime_Message$message
string$address
int$resultfrom RESULT_FAIL

Implements Swift_Plugins_Reporter.

Definition at line 37 of file HitReporter.php.

References $result.

Member Data Documentation

Swift_Plugins_Reporters_HitReporter::$_failures = array()
private

Definition at line 28 of file HitReporter.php.

Referenced by getFailedRecipients().

Swift_Plugins_Reporters_HitReporter::$_failures_cache = array()
private

Definition at line 29 of file HitReporter.php.


The documentation for this class was generated from the following file: