Documentation

HtmlClickTracker extends AutoService
in package
implements ClickTrackerInterface

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

Tags
service

civi_flexmailer_html_click_tracker

Table of Contents

Interfaces

ClickTrackerInterface

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.


        
On this page

Search results