| TransformationMethods Class |
Namespace: CMS.DocumentEngine.Web.UI
public class TransformationMethods : MacroMethodContainer
The TransformationMethods type exposes the following members.
| Name | Description | |
|---|---|---|
| TransformationMethods |
| Name | Description | |
|---|---|---|
| Extensions |
Extensions dictionary
(Inherited from MacroExtensionContainerTContainer, TExtension.) | |
| RegisteredExtensionNames |
Returns enumerable of all registered Extension names.
(Inherited from MacroExtensionContainerTContainer, TExtension.) | |
| RegisteredExtensions |
Returns enumerable of all Extensions.
(Inherited from MacroExtensionContainerTContainer, TExtension.) | |
| RegisteredMethods |
Returns enumerable of all methods.
(Inherited from MacroMethodContainer.) |
| Name | Description | |
|---|---|---|
| Eval |
Evaluates the item data and returns it.
| |
| GetAbsoluteUrl |
Returns absolute URL from relative path.
| |
| GetAbsoluteUrlBySiteID |
Returns absolute URL from relative path.
| |
| GetAbsoluteUrlBySiteName |
Returns absolute URL from relative path.
| |
| GetAttachmentUrl |
Returns URL of the attachment.
| |
| GetAttachmentUrlByDocumentId |
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.
| |
| GetExtension(String) |
Returns a Extension of given name (return null if specified Extension does not exist).
(Inherited from MacroExtensionContainerTContainer, TExtension.) | |
| GetExtension(Type, String) |
Returns the extension by type and name. Does not cache the result. Does not cache the result.
(Inherited from MacroExtensionContainerTContainer, TExtension.) | |
| GetExtensions |
Gets the extensions for the given type. Does not cache the result.
(Inherited from MacroExtensionContainerTContainer, TExtension.) | |
| GetFileIconClass |
Returns font icon class for specified file extension.
| |
| GetMethod |
Returns a method of given name (return null if specified method does not exist).
(Inherited from MacroMethodContainer.) | |
| GetSearchedContent |
Returns content parsed as XML if required and removes dynamic controls.
| |
| GetSearchImageUrl |
Returns URL to current search result item.
| |
| GetSearchValue |
Returns column value for current search result item.
| |
| IfCompare |
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 |
Returns nonEmptyResult if specified data source is null or empty, else returns emptyResult.
| |
| IfEmpty |
Returns nonEmptyResult if value is null or empty, else returns emptyResult.
| |
| IfImage |
Returns isImage value if file is image.
| |
| RegisterExtension |
Registers a Extension to the container.
(Inherited from MacroExtensionContainerTContainer, TExtension.) | |
| RegisterExtensions |
Registers all the methods.
(Inherited from MacroMethodContainer.) | |
| RegisterMethod |
Registers the given method.
(Inherited from MacroMethodContainer.) | |
| RegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String) |
Registers the given method within the method table.
(Inherited from MacroMethodContainer.) | |
| RegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String) |
Registers the given method within the method table.
(Inherited from MacroMethodContainer.) | |
| RegisterMethods |
Registers all the methods.
(Inherited from MacroMethodContainer.) | |
| RegisterMethods(MacroMethod) |
Registers the given methods.
(Inherited from MacroMethodContainer.) | |
| SearchHighlight |
Highlight input text with dependence on current search keywords.
| |
| SearchResultUrl |
Returns URL for current search result.
|