TextClickTracker
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
- replaceTextUrls() : mixed
- Find any 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
replaceTextUrls()
Find any URLs and replace them.
public
static replaceTextUrls(string $text, callable $replace) : mixed
Parameters
- $text : string
- $replace : callable
-
Function(string $oldUrl) => string $newUrl.
Return values
mixed —String, text.