The TransformationMethods type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
TransformationMethods |
Methods
Name | Description | |
---|---|---|
AddCurrentCategoryParameter |
Appends current category ID to given url.
| |
EnsureMaximumLineLength |
Limits line length of the given plain text.
| |
Equals | (Inherited from Object.) | |
Eval |
Evaluates the item data and returns it.
| |
EvalCDATA |
Evaluates the item data and return escaped CDATA.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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.
| |
GetBadgeImage |
Returns badge image tag.
| |
GetBadgeName |
Returns badge name.
| |
GetBlogCommentUrl |
Returns URL of the blog comment document.
| |
GetBlogCommentUrlForFeed |
Returns URL of the blog comment document with feed parameter.
| |
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 document CSS class comparing the current document node alias path. Returns selectedCssClass if given node alias path matches the current document node alias path. Otherwise returns cssClass.
| |
GetDocumentLink |
Returns a complete HTML code of the link to the currently rendered document.
| |
GetDocumentUrl |
Returns URL of specified document.
| |
GetDocumentUrlByGUID |
Returns URL of specified document.
| |
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 |
Returns a Extension of given name (return null if specified Extension does not exist).
(Inherited from MacroExtensionContainer TExtension .) | |
GetFileIcon |
Returns HTML markup representing file icon.
| |
GetFileUrl |
Returns URL of the attachment with given name.
| |
GetFileUrlByGUID |
Returns URL of the attachment with given attachment GUID.
| |
GetFileUrlFromAlias |
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.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
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 document with feed parameter.
| |
GetMethod |
Returns a method of given name (return null if specified method does not exist).
(Inherited from MacroMethodContainer.) | |
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).
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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, 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 document is current document.
| |
IsDocumentOnSelectedPath |
Indicates if the document is on selected path.
| |
IsImageDocument |
Indicates if the document is image.
| |
JSEncode |
Evaluates the item data and returns it.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterExtension |
Registers a Extension to the container.
(Inherited from MacroExtensionContainer TExtension .) | |
RegisterExtensions |
Registers all the methods.
(Inherited from MacroMethodContainer.) | |
RegisterMethod |
Registers the given method.
(Inherited from MacroMethodContainer.) | |
RegisterMethodInternal(String, Func EvaluationContext, Object , Object , Type, String, Int32, Object , String ) |
Registers the given method within the method table.
(Inherited from MacroMethodContainer.) | |
RegisterMethodInternal( String , Func EvaluationContext, 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.) | |
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrimSitePrefix |
Trims the site prefix from user name(if any prefix found)
|
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
Name | Description | |
---|---|---|
Extensions |
Extensions dictionary
(Inherited from MacroExtensionContainer TExtension .) | |
RegisteredExtensionNames |
Returns enumerable of all registered Extension names.
(Inherited from MacroExtensionContainer TExtension .) | |
RegisteredExtensions |
Returns enumerable of all Extensions.
(Inherited from MacroExtensionContainer TExtension .) | |
RegisteredMethods |
Returns enumerable of all methods.
(Inherited from MacroMethodContainer.) |
See Also