PHP Class IMP_Factory_Spam, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Core_Factory_Base
Mostra file Open project: horde/horde

Public Methods

Method Description
create ( integer $action ) : IMP_Spam Return a IMP_Spam instance.

Private Methods

Method Description
_expand ( string $str, boolean $escape = false ) : string Expand placeholders in 'email' and 'program' options.

Method Details

create() public method

Return a IMP_Spam instance.
public create ( integer $action ) : IMP_Spam
$action integer Either IMP_Spam::SPAM or IMP_Spam::INNOCENT.
return IMP_Spam The spam instance.