CMSAbstractTransformation Methods |
The CMSAbstractTransformation type exposes the following members.
Name | Description | |
---|---|---|
AddConfirmation |
Adds confirmation text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddCurrentCategoryParameter |
Appends current category ID to given URL.
| |
AddError |
Adds error text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddHeaderAction |
Adds specified action to the page header actions.
(Inherited from AbstractUserControl.) | |
AddInformation |
Adds information text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddMessage |
Adds message text to existing message on the page.
(Inherited from AbstractUserControl.) | |
AddWarning |
Adds warning text to existing message on the page.
(Inherited from AbstractUserControl.) | |
DataBind |
Data bind.
(Overrides ControlDataBind.) | |
EnsureControls |
Interface for control that is able to explicitly ensure its child controls
(Inherited from AbstractUserControl.) | |
EnsureMaximumLineLength |
Limits line length of the given plain text.
| |
EnsureObject |
Ensures the internal transformation object which provides the nested data
| |
Eval(String) |
Evaluates the item data (safe version).
(Overrides AbstractUserControlEval(String).) | |
Eval(String, Boolean) |
Evaluates the item data (safe version), with html encoding.
(Inherited from AbstractUserControl.) | |
EvalReturnType(String) |
Templated Eval, returns the value converted to specific type.
(Overrides AbstractUserControlEval(String).) | |
EvalBool |
Evaluates the item data and converts it to the boolean.
(Overrides AbstractUserControlEvalBool(String).) | |
EvalCDATA(String) |
Evaluates the item data and return escaped CDATA.
| |
EvalCDATA(String, Boolean) |
Evaluates the item data and return escaped CDATA.
| |
EvalColumnInternal |
Evaluates the data column
| |
EvalDateTime |
Evaluates the item data and converts it to the date time.
(Overrides AbstractUserControlEvalDateTime(String).) | |
EvalDecimal |
Evaluates the item data and converts it to the decimal.
(Overrides AbstractUserControlEvalDecimal(String).) | |
EvalDouble |
Evaluates the item data and converts it to the double.
(Overrides AbstractUserControlEvalDouble(String).) | |
EvalGuid |
Evaluates the item data and converts it to the guid.
(Overrides AbstractUserControlEvalGuid(String).) | |
EvalHTML |
Evaluates the item data and doesn't encode it. Method should be used for columns with html content.
(Overrides AbstractUserControlEvalHTML(String).) | |
EvalHtmlAttribute |
Evaluates the item data, encodes it to be used in HTML attribute.
(Inherited from AbstractUserControl.) | |
EvalInteger |
Evaluates the item data and converts it to the integer.
(Overrides AbstractUserControlEvalInteger(String).) | |
EvalInternal |
Evaluates the expression on the available data
| |
EvalJSString |
Evaluates the item data, encodes it to be used in javascript code and encapsulates it with "'".
(Overrides AbstractUserControlEvalJSString(String).) | |
EvalText(String) |
Evaluates the item data and encodes it. Method should be used for columns with string non-html content.
(Overrides AbstractUserControlEvalText(String).) | |
EvalText(String, Boolean) |
Evaluates the item data, encodes it and optionally localizes it. Method should be used for columns with string non-html content.
(Overrides AbstractUserControlEvalText(String, Boolean).) | |
FormatDate |
Format date without time part.
| |
FormatDateTime |
Format date time.
| |
GetAbsoluteUrl(String) |
Returns absolute URL from relative path.
| |
GetAbsoluteUrl(String, SiteInfoIdentifier) |
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 friendly URL of the attachment.
| |
GetAttachmentUrlByDocumentId |
Returns friendly URL of the attachment.
| |
GetAttachmentUrlByGUID |
Returns URL of the attachment based on given 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 document with feed parameter.
| |
GetColumnName(String) |
Returns first column which is present and not empty.
| |
GetColumnName(String, Boolean) |
Returns first column which is present.
| |
GetCustomDateTime |
Returns date time with dependence on selected time zone.
| |
GetDataControlValue(String) |
Gets the Data control value.
| |
GetDataControlValueReturnType(String) |
Gets the Data control value.
| |
GetDate |
Returns date from the provided date-time value.
| |
GetDateTime(DateTime) |
Returns date time with dependence on current ITimeZone manager time zone settings.
| |
GetDateTime(Object) |
Returns date time with dependence on current ITimeZone manager time zone settings.
| |
GetDateTime(String) |
Returns date and time string.
| |
GetDateTime(String, String) |
Returns date and time in given format.
| |
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.
| |
GetDocumentLink |
Returns a complete HTML code of the link to the currently rendered document.
| |
GetDocumentLink(Boolean) |
Returns a complete HTML code of the link to the currently rendered document.
| |
GetDocumentUrl |
Returns URL of the currently rendered document.
| |
GetDocumentUrl(Object) | Obsolete.
Returns URL of the given document.
| |
GetDocumentUrl(Object, Object) | Obsolete.
Returns URL of the given document (for use with document selector).
| |
GetDocumentUrlByGUID |
Returns URL of the given document.
| |
GetDocumentUrlById |
Returns URL of the given 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 ID.
| |
GetEditableImageUrl |
Gets the editable image value.
| |
GetEditableValue |
Gets the editable control value.
| |
GetEventDateString |
Returns string representation of event time.
| |
GetFeedName |
Returns safe feed name. Checks "FeedName" and "InstanceGUID" columns in data controls.
| |
GetFileIcon |
Returns HTML markup representing file icon.
| |
GetFileIconClass |
Returns font icon class for specified file extension.
| |
GetFileUrl(Object, Object, String) | Obsolete.
Returns URL of the attachment.
| |
GetFileUrl(Object, String, String) | Obsolete.
Returns URL of the attachment stored in the given column name.
| |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
(Inherited from AbstractUserControl.) | |
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(Int32, Object) |
Returns group avatar image tag, if avatar is not defined returns default group if is defined.
| |
GetGroupAvatarImage(Object, Int32, Object) |
Returns group avatar image tag, if avatar is not defined returns default group if is defined.
| |
GetGroupAvatarImage(Object, Int32, Int32, Int32, Object) |
Returns group avatar image tag, if avatar is not defined returns default group if is defined.
| |
GetGroupProfileUrl(Object) |
Returns group profile URL.
| |
GetGroupProfileUrl(Object, String) |
Returns group profile URL.
| |
GetImage(Object, Int32) |
Returns a complete HTML code of the image that is specified in the given column.
| |
GetImage(Object, Int32, Int32) |
Returns a complete HTML code of the image that is specified in the given column.
| |
GetImage(Object, Object, Object, Object, Object) |
Returns a complete HTML code of the image that is specified in the given column.
| |
GetImageByUrl(Object, Int32) |
Returns a complete HTML code of the image that is specified by the given URL.
| |
GetImageByUrl(Object, Int32, Int32) |
Returns a complete HTML code of the image that is specified by the given URL.
| |
GetImageByUrl(Object, Object, Object, Object, Object) |
Returns a complete HTML code of the image that is specified by the given url.
| |
GetImagePath |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetImageUrl |
Gets UI image relative path.
(Inherited from AbstractUserControl.) | |
GetMediaFileUrl |
Returns URL of the specified media file.
| |
GetMediaFileUrlForFeed |
Returns URL of the specified media file with feed parameter.
| |
GetMemberProfileUrl(Object) |
Returns member profile URL.
| |
GetMemberProfileUrl(Object, String) |
Returns member profile URL.
| |
GetMessageBoardUrl |
Returns URL of the message board document.
| |
GetMessageBoardUrlForFeed |
Returns URL of the message board document with feed parameter.
| |
GetMetaFileUrl |
Returns URL of the specified meta file.
| |
GetNavigationUrl |
Returns resolved (i.e. absolute) URL of data item (page) that currently being processed. Method reflects page navigation settings.
| |
GetNotEmpty |
Returns first nonEmpty column.
| |
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.
| |
GetSharePointFileUrl |
Gets URL for accessing file on SharePoint server.
| |
GetSharePointImageUrl |
Gets URL for accessing an image on SharePoint server.
| |
GetSiteDateTime |
Returns site date time according to site time zone.
| |
GetSitemapItem |
Returns sitemap XML element for specified type (loc, lastmod, changefreq, priority).
| |
GetString |
Returns the localized string of the control's hierarchically highest parent that has the ResourcePrefix property and its translation defined.
(Inherited from AbstractUserControl.) | |
GetUIImageUrl(String) |
Gets UI image resolved path.
| |
GetUIImageUrl(String, Boolean) |
Gets UI image resolved path.
| |
GetUIImageUrl(String, Boolean, Boolean) |
Gets UI image path.
| |
GetUrl(Object, Object) |
Returns URL for the specified aliasPath and urlPath (preferable).
| |
GetUrl(Object, Object, Object) |
Returns URL for the specified aliasPath and urlPath (preferable).
| |
GetUserAvatarImage(Int32, String) |
Returns user avatar image. Datarow must contains 'AvatarGuid' and 'UserGender' columns.
| |
GetUserAvatarImage(Object, Object, Int32, Object) |
Returns avatar image tag, if avatar is not defined returns gender depend avatar or user default avatar if is defined.
| |
GetUserAvatarImage(Object, Int32, Int32, Int32, Object) |
Returns avatar image tag, if avatar is not defined returns gender depend avatar or user default avatar if is defined.
| |
GetUserAvatarImage(Object, Object, Int32, Int32, Int32, Object) |
Returns avatar image tag, if avatar is not defined returns gender depend avatar or user default avatar if is defined.
| |
GetUserAvatarImageUrl(Object, Object, Int32, Int32, Int32) |
Returns avatar image URL, if avatar is not defined returns gender depend avatar or user default avatar if is defined.
| |
GetUserAvatarImageUrl(Object, Object, String, Int32, Int32, Int32) |
Returns avatar image URL, if avatar is not defined returns gender depend avatar or user default avatar if is defined.
| |
GetUserDateTime |
Returns current user date time DateTime according to user time zone.
| |
GetUserFullName |
Returns user full name.
| |
GetUserProfileURL(Object) |
Returns user profile URL.
| |
GetUserProfileURL(Object, String) |
Returns user profile URL.
| |
HTMLEncode |
Returns encoded text.
| |
If |
If input value is evaluated as True then 'true result' is returned, otherwise 'false result' is returned.
| |
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.
| |
IfEmpty |
Returns nonEmptyResult if value is null or empty, else returns emptyResult.
| |
IfImage |
Returns isImage value if file is image.
| |
IfTrue |
If input value is evaluated as True then 'true result' is returned, otherwise empty string is returned.
| |
IsCurrentDocument |
Indicates if the document is current document.
| |
IsDocumentOnSelectedPath |
Indicates if the document is on selected path.
| |
IsFirst |
Indicates if current data item is the first.
| |
IsImageDocument |
Indicates if the document is image.
| |
IsLast |
Indicates it current data item is the last.
| |
LimitLength(Object, Int32) |
Limits length of the given plain text.
| |
LimitLength(Object, Int32, String) |
Limits length of the given plain text.
| |
LimitLength(Object, Int32, String, Boolean) |
Limits length of the given plain text.
| |
LoadUserControl |
Loads the user control based on the given path
(Inherited from AbstractUserControl.) | |
Localize |
Returns localized text.
| |
LogAndShowError |
Logs the exception and
(Inherited from AbstractUserControl.) | |
OnInit |
Init event handler.
(Inherited from AbstractUserControl.) | |
OnLoad |
Load event handler.
(Inherited from AbstractUserControl.) | |
OnPreRender |
PreRender event handler.
(Inherited from AbstractUserControl.) | |
RemoveDiscussionMacros |
Remove all types of discussion macros from text.
| |
RemoveDynamicControls |
Remove all dynamic controls macros from text.
| |
Render |
Render event handler.
(Inherited from AbstractUserControl.) | |
ResolveCurrentPath |
Resolves the given alias path, applies the path segment to the given format string {0} for level 0.
| |
ResolveDiscussionMacros |
Resolves the discussion macros.
| |
ResolveMacros |
Resolves the macros in the given text
| |
ResolveUrl |
Resolves the given URL
(Inherited from AbstractUserControl.) | |
SearchHighlight |
Highlight input text with dependence on current search keywords.
| |
SearchResultUrl |
Returns URL for current search result.
| |
ShowChangesSaved |
Shows the general changes saved message.
(Inherited from AbstractUserControl.) | |
ShowConfirmation |
Shows the general confirmation message.
(Inherited from AbstractUserControl.) | |
ShowError |
Shows the specified error message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowInformation |
Shows the given information on the page, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowMessage(MessageTypeEnum, String, String, String, Boolean, Boolean) |
Shows the specified message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
ShowWarning |
Shows the specified warning message, optionally with a tooltip text.
(Inherited from AbstractUserControl.) | |
StripTags |
Remove HTML tags from text.
| |
TrimSitePrefix |
Trims the site prefix from user name(if any prefix found)
|
Name | Description | |
---|---|---|
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) |