PHP Класс IMP_Spam, horde

Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект

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

Свойство Тип Описание
$_action integer Action.
$_drivers array Driver list.

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

Метод Описание
__construct ( integer $action, array $drivers = [] ) Constructor.
report ( IMP_Indices $indices ) : integer Reports a list of messages as innocent/spam.

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

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

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

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

Reports a list of messages as innocent/spam.
public report ( IMP_Indices $indices ) : integer
$indices IMP_Indices An indices object.
Результат integer 1 if messages have been deleted, 2 if messages have been moved.

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

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

Action.
protected int $_action
Результат integer

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

Driver list.
protected array $_drivers
Результат array