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 | |
---|---|---|
![]() ![]() | AddCurrentCategoryParameter |
Appends current category ID to given url.
|
![]() ![]() | EnsureMaximumLineLength |
Limits line length of the given plain text.
|
![]() ![]() | Eval |
Evaluates the item data and returns it.
|
![]() ![]() | EvalCDATA |
Evaluates the item data and return escaped CDATA.
|
![]() ![]() | FormatDate |
Format date without time part.
|
![]() ![]() | FormatDateTime |
Format date time.
|
![]() ![]() | GetAbsoluteUrl |
Returns absolute URL from relative path.
|
![]() ![]() | GetAbsoluteUrlBySiteID |
Returns absolute URL from relative path.
|
![]() ![]() | GetAbsoluteUrlBySiteName |
Returns absolute URL from relative path.
|
![]() ![]() | GetAge |
Returns age according to DOB. If DOB is not set, returns unknownAge string.
|
![]() ![]() | GetAtomDateTime |
Gets time according to RFC 3339 for Atom feeds.
|
![]() ![]() | GetAttachmentIcon |
Returns HTML markup representing attachment icon.
|
![]() ![]() | GetAttachmentUrl |
Returns URL of the attachment.
|
![]() ![]() | GetAttachmentUrlByDocumentId |
Returns URL of the attachment.
|
![]() ![]() | GetAttachmentUrlByGUID |
Returns URL of the attachment with given attachment GUID.
|
![]() ![]() | GetBadgeImage |
Returns badge image tag.
|
![]() ![]() | GetBadgeName |
Returns badge name.
|
![]() ![]() | GetBlogCommentUrl |
Returns URL of the blog comment document.
|
![]() ![]() | GetBlogCommentUrlForFeed |
Returns URL of the blog comment page with feed parameter.
|
![]() ![]() | GetCountryDisplayName |
Returns country displayname based on its codename.
|
![]() ![]() | GetCurrentDateTimeString |
Returns date time string according to user or current site time zone.
|
![]() ![]() | GetCustomDateTime |
Returns date time with dependence on selected time zone.
|
![]() ![]() | GetDate |
Returns date from the provided date-time value.
|
![]() ![]() | 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.
|
![]() ![]() | GetDocumentCssClass |
Gets page CSS class comparing the current page alias path. Returns selectedCssClass if given alias path matches the current page alias path. Otherwise returns cssClass.
|
![]() ![]() | GetDocumentLink |
Returns a complete HTML code of the link to the currently rendered page.
|
![]() ![]() | GetDocumentUrl |
Returns URL of specified document.
|
![]() ![]() | GetDocumentUrlByGUID |
Returns URL of specified page.
|
![]() ![]() | GetDocumentUrlById |
Returns URL of specified document.
|
![]() ![]() | GetDocumentUrlForFeed |
Returns URL of the currently rendered document with feed parameter.
|
![]() ![]() | GetEditableImage |
Returns a complete HTML code of the image that is specified by editable image content.
|
![]() ![]() | GetEditableImageUrl |
Gets the editable image value.
|
![]() | 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.) |
![]() ![]() | GetFileIcon |
Returns HTML markup representing file icon.
|
![]() ![]() | GetFileIconClass |
Returns font icon class for specified file extension.
|
![]() ![]() | GetFileUrl | Obsolete.
Returns URL of the attachment with given name.
|
![]() ![]() | GetFileUrlByGUID | Obsolete.
Returns URL of the attachment with given attachment GUID.
|
![]() ![]() | GetFileUrlFromAlias | Obsolete.
Returns URL of the attachment with given GUID.
|
![]() ![]() | GetForumPostUrl |
Returns URL of the specified forum post.
|
![]() ![]() | GetForumPostUrlForFeed |
Returns URL of the specified forum post with feed parameter.
|
![]() ![]() | GetGender |
Returns gender of the user.
|
![]() ![]() | GetGroupAvatarImage |
Returns group avatar image tag, if avatar is not defined returns default group if is defined.
|
![]() ![]() | GetGroupAvatarImageByGUID |
Returns group avatar image tag, if avatar is not defined returns default group if is defined.
|
![]() ![]() | GetGroupProfileUrl |
Returns group profile URL.
|
![]() ![]() | GetImage |
Returns a complete HTML code of the image that is specified by node alias and attachment GUID.
|
![]() ![]() | GetImageByUrl |
Returns a complete HTML code of the image that is specified by the given url.
|
![]() ![]() | GetImageUrl |
Gets UI image resolved path.
|
![]() ![]() | GetMediaFileUrlForFeed |
Returns URL of the specified media file with feed parameter.
|
![]() ![]() | GetMemberProfileUrl |
Returns member profile URL.
|
![]() ![]() | GetMessageBoardUrl |
Returns URL of the message board document.
|
![]() ![]() | GetMessageBoardUrlForFeed |
Returns URL of the message board page with feed parameter.
|
![]() | GetMethod |
Returns a method of given name (return null if specified method does not exist).
(Inherited from MacroMethodContainer.) |
![]() ![]() | GetNavigationUrl |
Returns resolved (i.e. absolute) URL of data item (page) which is currently being processed. Method reflects page navigation settings.
|
![]() ![]() | GetRSSDateTime |
Gets time according to RFC 822 for RSS feeds.
|
![]() ![]() | 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.
|
![]() ![]() | GetSiteDateTime |
Returns site date time according to site time zone.
|
![]() ![]() | GetSitemapItem |
Returns sitemap XML element for specified type (loc, lastmod, changefreq, priority).
|
![]() ![]() | GetUIImageUrl |
Gets UI image resolved path.
|
![]() ![]() | GetUrl |
Returns URL for the specified aliasPath and urlPath (preferable).
|
![]() ![]() | GetUserAvatarImage |
Returns user avatar image.
|
![]() ![]() | GetUserAvatarImageByGUID |
Returns user avatar image.
|
![]() ![]() | GetUserAvatarImageForUser |
Returns user avatar image.
|
![]() ![]() | GetUserAvatarImageUrl |
Returns user avatar image URL.
|
![]() ![]() | GetUserDateTime |
Returns current user date time DateTime according to user time zone.
|
![]() ![]() | GetUserFullName |
Returns user full name.
|
![]() ![]() | GetUserProfileURL |
Returns user profile URL.
|
![]() ![]() | HTMLEncode |
Returns encoded text.
|
![]() ![]() | 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.
|
![]() ![]() | IsCurrentDocument |
Indicates if the given page is the current page.
|
![]() ![]() | IsDocumentOnSelectedPath |
Indicates if the page is on selected path.
|
![]() ![]() | IsImageDocument |
Indicates if the page is an image.
|
![]() ![]() | JSEncode |
Evaluates the item data and returns it.
|
![]() | 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.) |
![]() ![]() | RemoveDiscussionMacros |
Remove all oc of discussion macros from text.
|
![]() ![]() | RemoveDynamicControls |
Remove all dynamic controls macros from text.
|
![]() ![]() | SearchHighlight |
Highlight input text with dependence on current search keywords.
|
![]() ![]() | SearchResultUrl |
Returns URL for current search result.
|
![]() ![]() | TrimSitePrefix |
Trims the site prefix from user name(if any prefix found)
|