Documentation

IMP_Spam_Null
in package
implements IMP_Spam_Base

Null spam reporting.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Interfaces

IMP_Spam_Base
Spam reporting driver base interface.

Properties

$_success  : bool
Success status.

Methods

__construct()  : mixed
Constructor.
report()  : int
Reports a list of messages as innocent/spam.

Properties

$_success

Success status.

protected bool $_success

Methods

__construct()

Constructor.

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

Success status.

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 IMP_Contents objects.

$action : mixed

Either IMP_Spam::SPAM or IMP_Spam::INNOCENT.

Return values
int

True on success.


        
On this page

Search results