Documentation

IMP_Spam
in package

Handles spam/innocent reporting within IMP.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2004-2017 Horde LLC

license

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

Table of Contents

Constants

INNOCENT  = 1
SPAM  = 2

Properties

$_action  : int
Action.
$_drivers  : array<string|int, mixed>
Driver list.

Methods

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

Constants

INNOCENT

public mixed INNOCENT = 1

SPAM

public mixed SPAM = 2

Properties

$_action

Action.

protected int $_action

$_drivers

Driver list.

protected array<string|int, mixed> $_drivers

Methods

__construct()

Constructor.

public __construct(int $action[, array<string|int, mixed> $drivers = array() ]) : mixed
Parameters
$action : int

Either IMP_Spam::SPAM or IMP_Spam::INNOCENT.

$drivers : array<string|int, mixed> = array()

List of reporting drivers.

report()

Reports a list of messages as innocent/spam.

public report(IMP_Indices $indices) : int
Parameters
$indices : IMP_Indices

An indices object.

Return values
int

1 if messages have been deleted, 2 if messages have been moved.


        
On this page

Search results