Bitrix API

Consent

Class Mail

Table of Contents

Constants

LOCAL_DIR  = '/modules/sender/preset/consent/'

Methods

getApproveBtnText()  : mixed
getRejectnBtnText()  : mixed
getTemplateHtml()  : string|null
Get template html.
replaceTemplateHtml()  : mixed|null
Get template html.

Constants

LOCAL_DIR

public mixed LOCAL_DIR = '/modules/sender/preset/consent/'

Methods

getApproveBtnText()

public static getApproveBtnText(mixed $agreement) : mixed
Parameters
$agreement : mixed

getRejectnBtnText()

public static getRejectnBtnText() : mixed

getTemplateHtml()

Get template html.

public static getTemplateHtml() : string|null
Return values
string|null

replaceTemplateHtml()

Get template html.

public static replaceTemplateHtml(mixed $content[, array<string|int, mixed> $replace = [] ]) : mixed|null
Parameters
$content : mixed
$replace : array<string|int, mixed> = []

Replace data.

Return values
mixed|null

        
On this page

Search results