Documentation

Horde_Spam_Null extends Horde_Spam_Base
in package

Null spam reporting.

Tags
author

Michael Slusarz slusarz@horde.org

author

Jan Schneider jan@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl LGPL

Table of Contents

$_success  : bool
Success status.
__construct()  : mixed
Constructor.
report()  : int
Reports a list of messages as innocent/spam.
setLogger()  : mixed
Sets the log handler.

Properties

$_success

Success status.

protected bool $_success

Methods

__construct()

Constructor.

public __construct(bool $success) : mixed
Parameters
$success : bool

Success status.

Return values
mixed

report()

Reports a list of messages as innocent/spam.

public report(array<string|int, mixed> $msgs, mixed $action) : int
Parameters
$msgs : array<string|int, mixed>

List of message contents, either as streams or strings.

$action : mixed

Either Horde_Spam::SPAM or Horde_Spam::INNOCENT.

Return values
int

The number of reported messages.

setLogger()

Sets the log handler.

public setLogger(Horde_Log_Logger $logger) : mixed
Parameters
$logger : Horde_Log_Logger

The log handler.

Return values
mixed

Search results