Click or drag to resize
GlobalizationMethods Class
Globalization macro methods.
Inheritance Hierarchy
SystemObject
  CMS.MacroEngineMacroExtensionContainerMacroMethodContainer, MacroMethod
    CMS.MacroEngineMacroMethodContainer
      CMS.GlobalizationGlobalizationMethods

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax
C#
public sealed class GlobalizationMethods : MacroMethodContainer

The GlobalizationMethods type exposes the following members.

Constructors
  NameDescription
Public methodGlobalizationMethods
Top
Properties
Methods
  NameDescription
Public methodStatic memberGetCountryDisplayName
Returns country displayname based on its codename.
Public methodStatic memberGetCurrentDateTimeString
Returns date time string according to user or current site time zone.
Public methodStatic memberGetCustomDateTime
Returns date time with dependence on selected time zone.
Public methodStatic memberGetDate
Returns formatted date from the provided date-time value.
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 methodGetMethod
Returns a method of given name (return null if specified method does not exist).
(Inherited from MacroMethodContainer.)
Public methodStatic memberGetSiteDateTime
Returns site date time according to site time zone.
Public methodStatic memberGetUserDateTime
Returns current user date time DateTime according to user time zone.
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.)
Top
See Also