Documentation

TextClickTracker extends AutoService
in package
implements ClickTrackerInterface

AutoService is a base-class for defining a service (in Civi's service-container).

Tags
service

civi_flexmailer_text_click_tracker

Table of Contents

Interfaces

ClickTrackerInterface

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.


        
On this page

Search results