UIHelper Class |
Namespace: CMS.Helpers
public class UIHelper
The UIHelper type exposes the following members.
Name | Description | |
---|---|---|
EnsureTooltip |
Ensures tooltip for given control.
| |
GetAccessDeniedUrl(String) |
Gets URL for the info page which displays specified access denied message.
| |
GetAccessDeniedUrl(String, String, String, String, String) |
Gets the URL to Access denied page
| |
GetAccessibleIconTag |
Gets accessible-friendly font icon and screen reader representation.
| |
GetAccessibleImageMarkup |
Returns accessible-friendly image markup based on image URL or font icon class.
| |
GetAccessibleImageTag |
Gets accessible-friendly image tag.
| |
GetAdministrationPath |
Gets administration path - custom, or default (if custom not set).
| |
GetAdministrationUrl |
Get administration Url (starts with ~/) - custom, or default (if custom not set)
| |
GetCustomAdministrationPath |
Gets custom administration path, or empty string if not set.
| |
GetDocumentTypeIcon |
Returns HTML markup representing document type icon.
| |
GetDocumentTypeIconPath |
Returns path to the icon image for the specified document type.
| |
GetDocumentTypeIconUrl(Page, String, Boolean) |
Returns resolved path to the icon image for the specified document type.
| |
GetDocumentTypeIconUrl(Page, String, String, Boolean, Boolean) |
Returns resolved path to the icon image for the specified document type.
| |
GetFileIcon |
Returns HTML markup representing document type icon.
| |
GetFileIconClass |
Returns font icon class for specified file extension
| |
GetFlagIconUrl |
Returns resolved path to the flag image for the specified culture.
| |
GetImagePath |
Gets UI image path.
| |
GetImageUrl |
Gets UI image path.
| |
GetInformationUrl |
Gets URL for the info page which displays specified message.
| |
GetShortImageUrl |
Gets the
| |
GetTooltip |
Gets tooltip body HTML.
| |
GetTooltipAttributes |
Gets tooltip onmouseover and onmouseout attributes.
| |
IsFriendsModuleEnabled |
Indicates if friends functionality is enabled.
| |
IsUIPersonalizationEnabled |
Determines whether UI personalization is enabled for the specified site.
| |
IsUnavailableUIHidden |
Determines whether the user interface, which is unavailable due to the licence, should be hidden from all sites.
| |
MapZippedImages |
Maps the zipped images folder
| |
ResolveImageUrl |
Resolves the path to an image
| |
SetBreadcrumbsSuffix |
Sets breadcrumbs suffix
| |
ShortImageRedirect |
Redirects the file to the images folder.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
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.) |
Name | Description | |
---|---|---|
ACCESSDENIED_PAGE |
General access denied page
| |
ADMIN_ACCESSDENIED_PAGE |
Access denied page for administration
| |
DEFAULT_ADMINISTRATION_PATH |
Administration UI path
| |
FLAG_ICONS |
Small flag icons
| |
FLAG_ICONS_48 |
Flag icons for size 48x48
| |
TREE_ICONS |
Tree icons
| |
TREE_ICONS_RTL |
Tree icons for RTL layout
| |
UNIGRID_ICONS |
UniGrid icons
|
Name | Description | |
---|---|---|
AllowUpdateProgress |
If true, progress script is allowed on page.
| |
ClassicDialogs |
Indicates whether classic or new (iframe) dialogs should be used throughout UI.
|