ActionAttribute Class |
Namespace: CMS.UIControls
public class ActionAttribute : AbstractElementAttribute, ICMSFunctionalAttribute, ICMSAttribute
The ActionAttribute type exposes the following members.
Name | Description | |
---|---|---|
ActionAttribute(Int32) |
Constructor.
| |
ActionAttribute(Int32, String, String) |
Constructor.
| |
ActionAttribute(Int32, String, String, String, String) |
Constructor.
|
Name | Description | |
---|---|---|
ContainsMacro |
If true, the attribute contains macros
(Inherited from AbstractAttribute.) | |
CurrentSiteName |
Current site name.
(Inherited from AbstractSecurityAttribute.) | |
CurrentUser |
Current user.
(Inherited from AbstractSecurityAttribute.) | |
Editor |
If true, the editor should be checked.
(Inherited from AbstractSecurityAttribute.) | |
ExistingObject |
If True, attribute is applied only when edited object is defined.
(Inherited from AbstractAttribute.) | |
Feature |
Feature to check.
(Inherited from AbstractElementAttribute.) | |
GlobalAdministrator |
If true, the global admin check should be performed.
(Inherited from AbstractSecurityAttribute.) | |
Index |
Index of the action.
| |
IsAllowed |
If true, the security check is allowed, if false, it automatically returns false.
(Inherited from AbstractSecurityAttribute.) | |
Javascript |
Javascript to execute on click.
| |
NewObject |
If True, attribute is applied only when edited object is not defined.
(Inherited from AbstractAttribute.) | |
Permission |
Permission name to be checked.
(Inherited from AbstractSecurityAttribute.) | |
Resource |
Resource name to be checked.
(Inherited from AbstractSecurityAttribute.) | |
ResourceSite |
If true, the resource assignment to the site should be checked.
(Inherited from AbstractSecurityAttribute.) | |
ResourceString |
Resource string for the text.
| |
TargetUrl |
Target URL for the breadcrumb item.
| |
Text |
Text of the breadcrumbs, has higher priority than the resource string.
| |
TooltipResourceString |
Tooltip resource string.
| |
TooltipText |
Tooltip text, has higher priority than the tooltip resource string.
| |
UIElements |
UI elements to be checked separated by semicolon ;.
(Inherited from AbstractSecurityAttribute.) |
Name | Description | |
---|---|---|
Apply |
Applies the attribute data to the page (object).
| |
GetText |
Gets the text for the element.
(Inherited from AbstractAttribute.) | |
GetUrl |
Transforms the URL to the correct format.
(Inherited from AbstractAttribute.) | |
CheckEditedObject |
Returns True if attribute should be applied.
Evaluation is based on the edited object existence and ExistingObject and NewObject properties.
(Inherited from AbstractAttribute.) | |
CheckEditor |
Checks the security of the editor, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckGlobalAdministrator |
Checks the security of the global admin, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckLicense |
Checks the license, returns true if the license is valid against current domain.
(Inherited from AbstractElementAttribute.) | |
CheckModuleLoaded |
Checks if resource is loaded, returns false if resource/module is separated.
(Inherited from AbstractSecurityAttribute.) | |
CheckPermissions |
Checks the security of the permissions, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckResourceSite |
Checks the security of resource, returns true if the module is assigned to the current site.
(Inherited from AbstractSecurityAttribute.) | |
CheckSecurity |
Checks the security, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckUIElements |
Checks the security of the UI elements, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckVisibility |
Checks if the element is visible. Returns true if it is allowed to be shown.
(Inherited from AbstractElementAttribute.) | |
Resolve |
Resolves the give text.
(Inherited from AbstractAttribute.) |