PHP Class IMP_Factory_Spam, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Core_Factory_Base
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
create ( integer $action ) : IMP_Spam Return a IMP_Spam instance.

Private Methods

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

Method Details

create() public méthode

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