PHP Класс Pimcore\Helper\Mail

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
embedAndModifyCss ( $string, null $document = null ) : mixed
getDebugInformation ( $type, Mail $mail ) : string
getDebugInformationCssStyle ( ) : string Return the basic css styles for the html debug information
getNormalizedFileInfo ( $path, null $document = null ) : array
logEmail ( Mail $mail ) : Log
normalizeCssContent ( string $content, array $fileInfo ) : string Normalizes the css content (replaces images with the full path including the host)
setAbsolutePaths ( $string, null $document = null, null $hostUrl = null ) : mixed

Защищенные методы

Метод Описание
formatDebugReceivers ( array $receivers ) : string Helper to format the receivers for the debug email and logging

Описание методов

embedAndModifyCss() публичный статический Метод

public static embedAndModifyCss ( $string, null $document = null ) : mixed
$string
$document null
Результат mixed

formatDebugReceivers() защищенный статический Метод

Helper to format the receivers for the debug email and logging
protected static formatDebugReceivers ( array $receivers ) : string
$receivers array
Результат string

getDebugInformation() публичный статический Метод

public static getDebugInformation ( $type, Mail $mail ) : string
$type
$mail Pimcore\Mail
Результат string

getDebugInformationCssStyle() публичный статический Метод

Return the basic css styles for the html debug information
public static getDebugInformationCssStyle ( ) : string
Результат string

getNormalizedFileInfo() публичный статический Метод

public static getNormalizedFileInfo ( $path, null $document = null ) : array
$path
$document null
Результат array

logEmail() публичный статический Метод

public static logEmail ( Mail $mail ) : Log
$mail Pimcore\Mail
Результат Pimcore\Model\Tool\Email\Log

normalizeCssContent() публичный статический Метод

Normalizes the css content (replaces images with the full path including the host)
public static normalizeCssContent ( string $content, array $fileInfo ) : string
$content string
$fileInfo array
Результат string

setAbsolutePaths() публичный статический Метод

public static setAbsolutePaths ( $string, null $document = null, null $hostUrl = null ) : mixed
$string
$document null
$hostUrl null
Результат mixed