PHP Class Ingo_Script_Procmail, horde

Author: Brent J. Nordquist ([email protected])
Author: Ben Chavet ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Ingo_Script_Base
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_actions array The list of actions allowed (implemented) for this driver.
$_categories array The categories of filtering allowed.
$_features array A list of driver features.
$_special_types array A list of any special types that this driver supports.
$_tests array The list of tests allowed (implemented) for this driver.
$_types array The types of tests allowed (implemented) for this driver.

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.

Protected Methods

Method Description
_generate ( ) Generates the procmail scripts to do the filtering specified in the rules.
_generateBlacklist ( Ingo_Rule $rule ) Generates the procmail script to handle the blacklist specified in the rules.
_generateForward ( Ingo_Rule $rule ) Generates the procmail script to handle mail forwards.
_generateVacation ( Ingo_Rule $rule ) Generates the procmail script to handle vacation.
_generateWhitelist ( Ingo_Rule $rule ) Generates the procmail script to handle the whitelist specified in the rules.

Method Details

__construct() public method

Constructor.
public __construct ( array $params = [] )
$params array A hash containing parameters needed.

_generate() protected method

Generates the procmail scripts to do the filtering specified in the rules.
protected _generate ( )

_generateBlacklist() protected method

Generates the procmail script to handle the blacklist specified in the rules.
protected _generateBlacklist ( Ingo_Rule $rule )
$rule Ingo_Rule Rule object.

_generateForward() protected method

Generates the procmail script to handle mail forwards.
protected _generateForward ( Ingo_Rule $rule )
$rule Ingo_Rule Rule object.

_generateVacation() protected method

Generates the procmail script to handle vacation.
protected _generateVacation ( Ingo_Rule $rule )
$rule Ingo_Rule Rule object.

_generateWhitelist() protected method

Generates the procmail script to handle the whitelist specified in the rules.
protected _generateWhitelist ( Ingo_Rule $rule )
$rule Ingo_Rule Rule object.

Property Details

$_actions protected_oe property

The list of actions allowed (implemented) for this driver.
protected array $_actions
return array

$_categories protected_oe property

The categories of filtering allowed.
protected array $_categories
return array

$_features protected_oe property

A list of driver features.
protected array $_features
return array

$_special_types protected_oe property

A list of any special types that this driver supports.
protected array $_special_types
return array

$_tests protected_oe property

The list of tests allowed (implemented) for this driver.
protected array $_tests
return array

$_types protected_oe property

The types of tests allowed (implemented) for this driver.
protected array $_types
return array