IssueHelper Class |
Namespace: CMS.Newsletters
public class IssueHelper
The IssueHelper type exposes the following members.
Name | Description | |
---|---|---|
IssueHelper |
Constructor.
|
Name | Description | |
---|---|---|
CopyIssueProperties |
Copies specified properties from source issue to target issue.
| |
GetBaseUrl |
Creates a base URL for prefixing links in the given newsletter's issues.
| |
GetBreadcrumbsData |
Prepares JSON object to be inserted to the breadcrumbs.
On some pages the breadcrumbs needs to be hard-coded in order to be able to access single email via link and ensure consistency of breadcrumbs.
| |
GetContentXML |
Returns content of editable regions as XML.
| |
GetIssueTotalUniqueClicks |
Returns number of unique clicks of all issue's links.
| |
GetIssueVariants(Int32, String) |
Returns issue variants for specified issue ID if any.
| |
GetIssueVariants(IssueInfo, String) |
Returns issue variants for specified issue if any.
| |
GetStatusFriendlyName |
Returns issue status friendly name.
| |
GetWinnerIssue |
Returns A/B test winner.
| |
LoadDynamicFields |
Loads values of dynamic fields into hashtable.
| |
LoadRegionsContents(String) |
Loads values of editable regions into hashtable.
| |
LoadRegionsContents(Hashtable, String) |
Loads values of editable regions into hashtable.
| |
ResolveDynamicFieldMacros |
Resolves the dynamic field macros, replaces the {%dynamicfieldname%} macro with the dynamic field value.
| |
ResolveEditableRegionMacros |
Resolves the editable region macros, replaces the $$editableregionname:width:height$$ macro with the editable region values previously
loaded with LoadRegionsContents method.
|