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
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
__construct ( array $params = [] ) Constructor.

Protected Methods

Method Description
_regexCallback ( array $matches ) : string Regular expression callback.

Method Details

__construct() public method

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 method

Regular expression callback.
protected _regexCallback ( array $matches ) : string
$matches array preg_replace_callback() matches.
return string Replacement string.