TransformationHelper Class |
Namespace: CMS.DocumentEngine.Web.UI
public class TransformationHelper : AbstractHelper<TransformationHelper>
The TransformationHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | TransformationHelper |
Name | Description | |
---|---|---|
![]() ![]() | HTMLEncodeEval |
Gets or sets whether Eval() methods in CMSAbstractTransformation class encodes string values.
|
Name | Description | |
---|---|---|
![]() | EnsureValueHTMLEncodeReturnType |
Returns HTML encoded value if value is string and it should be encoded(it depends on value of CMSHTMLEncodeEval key in configuration file).
|
![]() | FormatDateTime |
Format date time.
|
![]() | GetAbsoluteUrl(String) | Obsolete.
Returns absolute URL from relative path.
|
![]() | GetAbsoluteUrl(String, SiteInfoIdentifier) | Obsolete.
Returns absolute URL from relative path.
|
![]() | GetAttachmentUrl | Obsolete.
Returns URL of the attachment.
|
![]() | GetAttachmentUrlByDocumentId | Obsolete.
Returns URL of the attachment.
|
![]() | GetAttachmentUrlByGUID |
Returns URL of the attachment.
|
![]() | GetDateTime |
Returns date time with dependence on current ITimeZone manager time zone settings.
|
![]() | GetDateTimeString |
Returns string representation of date time with dependence on current ITimeZone manager
time zone settings.
|
![]() | GetFileIconClass | Obsolete.
Returns font icon class for specified file extension.
|
![]() | GetSearchedContent |
Returns content parsed as XML if required and removes dynamic controls.
|
![]() | GetSearchImageUrl |
Returns URL to given search result item.
|
![]() | GetSearchValue |
Returns column value for current search result item.
|
![]() | GetSharePointFileUrl |
Gets URL for accessing file on SharePoint server.
|
![]() | HTMLEncode |
Returns encoded text.
|
![]() | If | Obsolete.
If input value is evaluated as True then 'true result' is returned, otherwise 'false result' is returned.
|
![]() | IfCompare | Obsolete.
Transformation "if" statement for guid, int, string, double, decimal, boolean, DateTime
The type of compare depends on comparable value (second parameter)
If both values are NULL, method returns false result.
|
![]() | IfDataSourceIsEmpty | Obsolete.
Returns nonEmptyResult if specified data source is null or empty, else returns emptyResult.
|
![]() | IfEmpty | Obsolete.
Returns nonEmptyResult if value is null or empty, else returns emptyResult.
|
![]() | IfImage | Obsolete.
Returns isImage value if file is image.
|
![]() ![]() | LoadTransformation |
Loads the transformation template.
Supports the following formats of transformation name:
[Some text with macros] - Inline transformation
cms.user.sometransformation - Transformation full name from database
~/SomePath/SomeControl.ascx - Path to transformation user control
|
![]() ![]() | LoadTransformationFromPath |
Loads the transformation from the given path
|
![]() | SearchHighlight |
Highlight input text with dependence on current search keywords.
|
![]() | SearchResultUrl |
Returns URL for given search result.
|
![]() | SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |