Difference between revisions of "RoleExtensionRoleDocumentation class"
(Tag: visualeditor) |
|||
Line 2: | Line 2: | ||
|Name=<nowiki>RoleExtensionRoleDocumentation</nowiki> | |Name=<nowiki>RoleExtensionRoleDocumentation</nowiki> | ||
|Description=<nowiki>Documents how a given role extension can be called on a role</nowiki> | |Description=<nowiki>Documents how a given role extension can be called on a role</nowiki> | ||
− | |Constructors= | + | |InheritsFrom=RoleExtensionDocumentation|Constructors= |
{{CGscriptConstructors_Template|Description=<nowiki>Make new documentation</nowiki>}} | {{CGscriptConstructors_Template|Description=<nowiki>Make new documentation</nowiki>}} | ||
|Methods= | |Methods= | ||
− | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Description=<nowiki>The string representation of the object.</nowiki>}} | + | {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}} |
|Properties= | |Properties= | ||
− | {{CGscriptProperties_Template|ReturnType=LocalizedString|Name=<nowiki>Description</nowiki>|HasGetter=1|Description=<nowiki>A short description of the functionality for an admin user to better understand what it actually does.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=LocalizedString|Name=<nowiki>Description</nowiki>|HasGetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>A short description of the functionality for an admin user to better understand what it actually does.</nowiki>}} |
− | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>IncludeChildrenInPath</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>If true and LimitToPath is set, then LimitToPath applies to any role with the path as prefix. Default is false.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>IncludeChildrenInPath</nowiki>|HasGetter=1|HasSetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>If true and LimitToPath is set, then LimitToPath applies to any role with the path as prefix. Default is false.</nowiki>}} |
− | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>LimitToPath</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>If set, only roles in a given path are applicable for this role extensions. Default is Empty.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>LimitToPath</nowiki>|HasGetter=1|HasSetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>If set, only roles in a given path are applicable for this role extensions. Default is Empty.</nowiki>}} |
− | {{CGscriptProperties_Template|ReturnType=LocalizedString|Name=<nowiki>Name</nowiki>|HasGetter=1|Description=<nowiki>The name of the functionality for an admin user to see.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=LocalizedString|Name=<nowiki>Name</nowiki>|HasGetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>The name of the functionality for an admin user to see.</nowiki>}} |
{{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=string|Name=<nowiki>ObjectTypeName</nowiki>|HasGetter=1|Description=<nowiki>The name of the type of object.</nowiki>}} | ||
{{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>OnParent</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>If true, applicable to the parent folder of the role. Default is false.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>OnParent</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>If true, applicable to the parent folder of the role. Default is false.</nowiki>}} | ||
− | {{CGscriptProperties_Template|ReturnType=Array of RoleExtensionParameterDocumentation|Name=<nowiki>Parameters</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Documentation for possible parameters.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=Array of RoleExtensionParameterDocumentation|Name=<nowiki>Parameters</nowiki>|HasGetter=1|HasSetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>Documentation for possible parameters.</nowiki>}} |
− | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>PathIsRelative</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>If true, the path is a postfix on the Top level parent that the role extension is defined on. Default is true.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>PathIsRelative</nowiki>|HasGetter=1|HasSetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>If true, the path is a postfix on the Top level parent that the role extension is defined on. Default is true.</nowiki>}} |
− | {{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>PermissionRequired</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Minimum access required on a user/role to be able to do it's function: 2 = needs read access, 4 = write access, 6 = full access. Default is 4.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=int|Name=<nowiki>PermissionRequired</nowiki>|HasGetter=1|HasSetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>Minimum access required on a user/role to be able to do it's function: 2 = needs read access, 4 = write access, 6 = full access. Default is 4.</nowiki>}} |
− | {{CGscriptProperties_Template|ReturnType=Array of RoleExtensionQueryValueDocumentation|Name=<nowiki>Result</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Documentation for return value of calling the script.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=Array of RoleExtensionQueryValueDocumentation|Name=<nowiki>Result</nowiki>|HasGetter=1|HasSetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>Documentation for return value of calling the script.</nowiki>}} |
{{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>RoleRequired</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>If true, the parameter applicable to the parent folder of the role. Default is false.</nowiki>}} | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>RoleRequired</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>If true, the parameter applicable to the parent folder of the role. Default is false.</nowiki>}} | ||
− | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>ShowResultInGrid</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>If true, values returned by this script in query mode is suitable to be shown in the user/role grid, no parameters are allowed if true. Default is true.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=bool|Name=<nowiki>ShowResultInGrid</nowiki>|HasGetter=1|HasSetter=1|Inherited=RoleExtensionDocumentation|Description=<nowiki>If true, values returned by this script in query mode is suitable to be shown in the user/role grid, no parameters are allowed if true. Default is true.</nowiki>}} |
− | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Description=<nowiki>Get information about this class.</nowiki>}} | + | {{CGscriptProperties_Template|ReturnType=TypeInformation|Name=<nowiki>TypeInformation</nowiki>|HasGetter=1|Inherited=object|Description=<nowiki>Get information about this class.</nowiki>}} |
}} | }} | ||
[[Category:Roles]] | [[Category:Roles]] |
Latest revision as of 08:19, 2 July 2020
RoleExtensionRoleDocumentation
Documents how a given role extension can be called on a role
Parent class
Inherits from RoleExtensionDocumentation
Constructors
- () - Make new documentation
Methods
- (From object) string ToString() - The string representation of the object.
Properties
- (From RoleExtensionDocumentation) LocalizedString Description { get; } - A short description of the functionality for an admin user to better understand what it actually does.
- (From RoleExtensionDocumentation) bool IncludeChildrenInPath { get; set; } - If true and LimitToPath is set, then LimitToPath applies to any role with the path as prefix. Default is false.
- (From RoleExtensionDocumentation) string LimitToPath { get; set; } - If set, only roles in a given path are applicable for this role extensions. Default is Empty.
- (From RoleExtensionDocumentation) LocalizedString Name { get; } - The name of the functionality for an admin user to see.
- string ObjectTypeName { get; } - The name of the type of object.
- bool OnParent { get; set; } - If true, applicable to the parent folder of the role. Default is false.
- (From RoleExtensionDocumentation) Array of RoleExtensionParameterDocumentation Parameters { get; set; } - Documentation for possible parameters.
- (From RoleExtensionDocumentation) bool PathIsRelative { get; set; } - If true, the path is a postfix on the Top level parent that the role extension is defined on. Default is true.
- (From RoleExtensionDocumentation) int PermissionRequired { get; set; } - Minimum access required on a user/role to be able to do it's function: 2 = needs read access, 4 = write access, 6 = full access. Default is 4.
- (From RoleExtensionDocumentation) Array of RoleExtensionQueryValueDocumentation Result { get; set; } - Documentation for return value of calling the script.
- bool RoleRequired { get; set; } - If true, the parameter applicable to the parent folder of the role. Default is false.
- (From RoleExtensionDocumentation) bool ShowResultInGrid { get; set; } - If true, values returned by this script in query mode is suitable to be shown in the user/role grid, no parameters are allowed if true. Default is true.
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.