Documentation

Ingo_Script_Procmail_Default
in package
implements Ingo_Script_Item

The Ingo_Script_Procmail_Default class represents a final rule to deliver to $DEFAULT.

Tags
author

Jan Schneider jan@horde.org

category

Horde

license

http://www.horde.org/licenses/apache ASL

Interfaces, Classes, Traits and Enums

Ingo_Script_Item
The Ingo_Script_Item interface is an interface for individual items representing code snippets of a filter script.

Table of Contents

$_params  : mixed
__construct()  : mixed
Constructor.
generate()  : string
Generates procmail code to represent the default delivery rule.

Properties

Methods

__construct()

Constructor.

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

Array of parameters. Expected fields are 'delivery_agent' and optionally 'delivery_mailbox_prefix'.

Return values
mixed

generate()

Generates procmail code to represent the default delivery rule.

public generate() : string
Return values
string

Procmail code to represent the default rule.

Search results