Sam_Driver_Spamd_Base::_mapAttributeToOption PHP Method

_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.
    protected function _mapAttributeToOption($attribute)
    {
        return isset($this->_option_map[$attribute]) ? $this->_option_map[$attribute] : $attribute;
    }