Click or drag to resize
TransformationMethods Class
Class containing wrapper methods for transformation methods which can be used in macro resolver.
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineMacroExtensionContainerMacroMethodContainer, MacroMethod
    CMS.MacroEngineMacroMethodContainer
      CMS.DocumentEngine.Web.UITransformationMethods

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public class TransformationMethods : MacroMethodContainer

The TransformationMethods type exposes the following members.

Constructors
  NameDescription
Public methodTransformationMethods
Top
Properties
Methods
  NameDescription
Public methodStatic memberEval
Evaluates the item data and returns it.
Public methodStatic memberGetAbsoluteUrl
Returns absolute URL from relative path.
Public methodStatic memberGetAbsoluteUrlBySiteID
Returns absolute URL from relative path.
Public methodStatic memberGetAbsoluteUrlBySiteName
Returns absolute URL from relative path.
Public methodStatic memberGetAttachmentUrl
Returns URL of the attachment.
Public methodStatic memberGetAttachmentUrlByDocumentId
Returns URL of the attachment.
Public methodStatic memberGetDateTime
Returns date time with dependence on current ITimeZone manager time zone settings.
Public methodStatic memberGetDateTimeString
Returns string representation of date time with dependence on current ITimeZone manager time zone settings.
Protected methodGetExtension(String)
Returns a Extension of given name (return null if specified Extension does not exist).
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodGetExtension(Type, String)
Returns the extension by type and name. Does not cache the result. Does not cache the result.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodGetExtensions
Gets the extensions for the given type. Does not cache the result.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Public methodStatic memberGetFileIconClass
Returns font icon class for specified file extension.
Public methodGetMethod
Returns a method of given name (return null if specified method does not exist).
(Inherited from MacroMethodContainer.)
Public methodStatic memberGetSearchedContent
Returns content parsed as XML if required and removes dynamic controls.
Public methodStatic memberGetSearchImageUrl
Returns URL to current search result item.
Public methodStatic memberGetSearchValue
Returns column value for current search result item.
Public methodStatic memberIfCompare
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.
Public methodStatic memberIfDataSourceIsEmpty
Returns nonEmptyResult if specified data source is null or empty, else returns emptyResult.
Public methodStatic memberIfEmpty
Returns nonEmptyResult if value is null or empty, else returns emptyResult.
Public methodStatic memberIfImage
Returns isImage value if file is image.
Protected methodRegisterExtension
Registers a Extension to the container.
(Inherited from MacroExtensionContainerTContainer, TExtension.)
Protected methodRegisterExtensions
Registers all the methods.
(Inherited from MacroMethodContainer.)
Public methodRegisterMethod
Registers the given method.
(Inherited from MacroMethodContainer.)
Protected methodRegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String)
Registers the given method within the method table.
(Inherited from MacroMethodContainer.)
Protected methodRegisterMethodInternal(String, FuncEvaluationContext, Object, Object, Type, String, Int32, Object, String)
Registers the given method within the method table.
(Inherited from MacroMethodContainer.)
Protected methodRegisterMethods
Registers all the methods.
(Inherited from MacroMethodContainer.)
Public methodRegisterMethods(MacroMethod)
Registers the given methods.
(Inherited from MacroMethodContainer.)
Public methodStatic memberSearchHighlight
Highlight input text with dependence on current search keywords.
Public methodStatic memberSearchResultUrl
Returns URL for current search result.
Top
See Also