PHP Класс Horde_Spam_Base, horde

Автор: Michael Slusarz ([email protected])
Автор: Jan Schneider ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( ) Constructor.
report ( array $msgs, integer $action ) : integer Reports a list of messages as innocent/spam.
setLogger ( Horde_Log_Logger $logger ) Sets the log handler.

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

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

Constructor.
public __construct ( )

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

Reports a list of messages as innocent/spam.
abstract public report ( array $msgs, integer $action ) : integer
$msgs array List of message contents, either as streams or strings.
$action integer Either Horde_Spam::SPAM or Horde_Spam::INNOCENT.
Результат integer The number of reported messages.

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

Sets the log handler.
public setLogger ( Horde_Log_Logger $logger )
$logger Horde_Log_Logger The log handler.