HtmlClickTracker
extends AutoService
in package
implements
ClickTrackerInterface
AutoService is a base-class for defining a service (in Civi's service-container).
Tags
Table of Contents
Interfaces
Methods
- filterContent() : mixed
- replaceHrefUrls() : mixed
- Find any HREF-style URLs and replace them.
Methods
filterContent()
public
filterContent(mixed $msg, mixed $mailing_id, mixed $queue_id) : mixed
Parameters
- $msg : mixed
- $mailing_id : mixed
- $queue_id : mixed
replaceHrefUrls()
Find any HREF-style URLs and replace them.
public
static replaceHrefUrls(string $html, callable $replace) : mixed
Parameters
- $html : string
- $replace : callable
-
Function(string $oldHtmlUrl) => string $newHtmlUrl.
Return values
mixed —String, HTML.