PHP Class IMP_Spam, horde

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

Protected Properties

Свойство Type Description
$_action integer Action.
$_drivers array Driver list.

Méthodes publiques

Méthode Description
__construct ( integer $action, array $drivers = [] ) Constructor.
report ( IMP_Indices $indices ) : integer Reports a list of messages as innocent/spam.

Method Details

__construct() public méthode

Constructor.
public __construct ( integer $action, array $drivers = [] )
$action integer Either IMP_Spam::SPAM or IMP_Spam::INNOCENT.
$drivers array List of reporting drivers.

report() public méthode

Reports a list of messages as innocent/spam.
public report ( IMP_Indices $indices ) : integer
$indices IMP_Indices An indices object.
Résultat integer 1 if messages have been deleted, 2 if messages have been moved.

Property Details

$_action protected_oe property

Action.
protected int $_action
Résultat integer

$_drivers protected_oe property

Driver list.
protected array $_drivers
Résultat array