Click or drag to resize
SaveActionAttribute Class
Adds save action to the page.
Inheritance Hierarchy

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public class SaveActionAttribute : ActionAttribute

The SaveActionAttribute type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyContainsMacro
If true, the attribute contains macros
(Inherited from AbstractAttribute.)
Protected propertyCurrentSiteName
Current site name.
(Inherited from AbstractSecurityAttribute.)
Protected propertyCurrentUser
Current user.
(Inherited from AbstractSecurityAttribute.)
Public propertyEditor
If true, the editor should be checked.
(Inherited from AbstractSecurityAttribute.)
Public propertyExistingObject
If True, attribute is applied only when edited object is defined.
(Inherited from AbstractAttribute.)
Public propertyFeature
Feature to check.
(Inherited from AbstractElementAttribute.)
Public propertyGlobalAdministrator
If true, the global admin check should be performed.
(Inherited from AbstractSecurityAttribute.)
Public propertyIndex
Index of the action.
(Inherited from ActionAttribute.)
Public propertyIsAllowed
If true, the security check is allowed, if false, it automatically returns false.
(Inherited from AbstractSecurityAttribute.)
Public propertyJavascript
Javascript to execute on click.
(Inherited from ActionAttribute.)
Public propertyNewObject
If True, attribute is applied only when edited object is not defined.
(Inherited from AbstractAttribute.)
Public propertyPermission
Permission name to be checked.
(Inherited from AbstractSecurityAttribute.)
Public propertyResource
Resource name to be checked.
(Inherited from AbstractSecurityAttribute.)
Public propertyResourceSite
If true, the resource assignment to the site should be checked.
(Inherited from AbstractSecurityAttribute.)
Public propertyResourceString
Resource string for the text.
(Inherited from ActionAttribute.)
Public propertyTargetUrl
Target URL for the breadcrumb item.
(Inherited from ActionAttribute.)
Public propertyText
Text of the breadcrumbs, has higher priority than the resource string.
(Inherited from ActionAttribute.)
Public propertyTooltipResourceString
Tooltip resource string.
(Inherited from ActionAttribute.)
Public propertyTooltipText
Tooltip text, has higher priority than the tooltip resource string.
(Inherited from ActionAttribute.)
Public propertyUIElements
UI elements to be checked separated by semicolon ;.
(Inherited from AbstractSecurityAttribute.)
Top
Methods
  NameDescription
Public methodApply
Applies the attribute data to the page (object).
(Overrides ActionAttributeApply(Object).)
Protected methodCheckEditedObject
Returns True if attribute should be applied. Evaluation is based on the edited object existence and ExistingObject and NewObject properties.
(Inherited from AbstractAttribute.)
Public methodCheckEditor
Checks the security of the editor, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.)
Public methodCheckGlobalAdministrator
Checks the security of the global admin, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.)
Public methodCheckLicense
Checks the license, returns true if the license is valid against current domain.
(Inherited from AbstractElementAttribute.)
Public methodCheckModuleLoaded
Checks if resource is loaded, returns false if resource/module is separated.
(Inherited from AbstractSecurityAttribute.)
Public methodCheckPermissions
Checks the security of the permissions, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.)
Public methodCheckResourceSite
Checks the security of resource, returns true if the module is assigned to the current site.
(Inherited from AbstractSecurityAttribute.)
Public methodCheckSecurity
Checks the security, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.)
Public methodCheckUIElements
Checks the security of the UI elements, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.)
Public methodCheckVisibility
Checks if the element is visible. Returns true if it is allowed to be shown.
(Inherited from AbstractElementAttribute.)
Protected methodGetText
Gets the text for the element.
(Inherited from AbstractAttribute.)
Protected methodGetUrl
Transforms the URL to the correct format.
(Inherited from AbstractAttribute.)
Protected methodResolve
Resolves the give text.
(Inherited from AbstractAttribute.)
Top
See Also