Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions
EmailTemplateSerializedDataToHtmlUtil Class Reference

Static Public Member Functions

static resolveHtmlByEmailTemplateId ($emailTemplateId, $renderForCanvas=false)
 
static resolveHtmlByEmailTemplateModel (EmailTemplate $emailTemplate, $renderForCanvas=false)
 
static resolveHtmlBySerializedData ($serializedData, $renderForCanvas=false)
 
static resolveHtmlByUnserializedData (array $unserializedData, $renderForCanvas=false)
 

Detailed Description

Class EmailTemplateSerializedDataToHtmlUtil Utility class to resolve serializedData of an email template into html

Definition at line 41 of file EmailTemplateSerializedDataToHtmlUtil.php.

Member Function Documentation

static resolveHtmlByEmailTemplateId (   $emailTemplateId,
  $renderForCanvas = false 
)
static

Resolve html for a builder template provided its id

Parameters
$emailTemplateId
bool$renderForCanvas
Returns
bool|null|string

Definition at line 49 of file EmailTemplateSerializedDataToHtmlUtil.php.

static resolveHtmlByEmailTemplateModel ( EmailTemplate  $emailTemplate,
  $renderForCanvas = false 
)
static

Resolve html for a builder template provided the model itself.

Parameters
EmailTemplate$emailTemplate
bool$renderForCanvas
Returns
bool|null|string

Definition at line 62 of file EmailTemplateSerializedDataToHtmlUtil.php.

static resolveHtmlBySerializedData (   $serializedData,
  $renderForCanvas = false 
)
static

Resolve html for provided serialized data

Parameters
$serializedData
bool$renderForCanvas
Returns
bool|null|string

Definition at line 76 of file EmailTemplateSerializedDataToHtmlUtil.php.

static resolveHtmlByUnserializedData ( array  $unserializedData,
  $renderForCanvas = false 
)
static

Resolve html for provided unserialized data array

Parameters
array$unserializedData
bool$renderForCanvas
Returns
bool|null|string

Definition at line 93 of file EmailTemplateSerializedDataToHtmlUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Jul 7 2020 07:10:47
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.