PHP Class Horde_Core_Text_Filter_Emails, horde

Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Text_Filter_Emails
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
__construct ( array $params = [] ) Constructor.

Méthodes protégées

Méthode Description
_regexCallback ( array $matches ) : string Regular expression callback.

Method Details

__construct() public méthode

Constructor.
public __construct ( array $params = [] )
$params array Parameters (in addition to base Horde_Text_Filter_Emails parameters): - always_mailto: (boolean) If true, a mailto: link is always generated. Only if no mail/compose registry API method exists otherwise. DEFAULT: false - callback: (callback) Use this callback instead of the mail/compose API call. DEFAULT: Use mail/compose API call.

_regexCallback() protected méthode

Regular expression callback.
protected _regexCallback ( array $matches ) : string
$matches array preg_replace_callback() matches.
Résultat string Replacement string.