C# Class Umbraco.Extensions.Controllers.Base.FormController

Inheritance: BaseSurfaceController
Afficher le fichier Open project: jbreuer/Hybrid-Framework-Best-Practices

Méthodes protégées

Méthode Description
ProcessForms ( string>.Dictionary emailValues, EmailType emailType ) : void

Given the set of replacement values and a list of property aliases of the email fields, construct and send the required emails.

ProcessForms ( string>.Dictionary emailValues, IPublishedContent content, EmailType emailType ) : void

Given the set of replacement values and a list of property aliases of the email fields, construct and send the required emails.

Private Methods

Méthode Description
AddImgAbsolutePath ( string html ) : string

Add an absolute path to all the img tags in the html of an e-mail.

ReplacePlaceholders ( string templateString, string>.Dictionary phData, bool escapeHtml = false ) : string
ReplacePlaceholders ( DEF_Fields template, string>.Dictionary phData ) : void

Using a dictionary of replacement keys with their corresponding values, replace the placeholders in each of the email form fields. Dictionary keys have the placeholder brackets ("[]") added to them, so these don't need to be included.

Method Details

ProcessForms() protected méthode

Given the set of replacement values and a list of property aliases of the email fields, construct and send the required emails.
protected ProcessForms ( string>.Dictionary emailValues, EmailType emailType ) : void
emailValues string>.Dictionary The replacement values
emailType EmailType
Résultat void

ProcessForms() protected méthode

Given the set of replacement values and a list of property aliases of the email fields, construct and send the required emails.
protected ProcessForms ( string>.Dictionary emailValues, IPublishedContent content, EmailType emailType ) : void
emailValues string>.Dictionary The replacement values
content IPublishedContent
emailType EmailType
Résultat void