PHP Class Sam_Driver_Spamd_Base, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Chris Bowlby ([email protected])
Author: Max Kalika ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Sam_Driver_Base
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_capabilities array Capabilities supported by the driver.
$_option_map array Sam to SpamAssassin options mappings.

Protected Methods

Method Description
_mapAttributeToOption ( string $attribute ) : string Converts a Sam attribute to a SpamAssassin option.
_mapOptionToAttribute ( string $option ) : string Converts a SpamAssassin option to a Sam attribute.

Method Details

_mapAttributeToOption() protected method

Converts a Sam attribute to a SpamAssassin option.
protected _mapAttributeToOption ( string $attribute ) : string
$attribute string The Sam attribute to convert.
return string The converted SpamAssassin option or the original attribute if no match is found.

_mapOptionToAttribute() protected method

Converts a SpamAssassin option to a Sam attribute.
protected _mapOptionToAttribute ( string $option ) : string
$option string The SpamAssassin option to convert.
return string The converted Sam attribute or the original option if no match is found.

Property Details

$_capabilities protected property

Capabilities supported by the driver.
protected array $_capabilities
return array

$_option_map protected property

Sam to SpamAssassin options mappings.
protected array $_option_map
return array