Difference between revisions of "RoleExtensionDocumentation class"

From Catglobe Wiki
Jump to: navigation, search
m
(Tag: visualeditor)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
|Name=<nowiki>RoleExtensionDocumentation</nowiki>
 
|Name=<nowiki>RoleExtensionDocumentation</nowiki>
 
|Description=<nowiki>Documents how a given role extension can be called</nowiki>
 
|Description=<nowiki>Documents how a given role extension can be called</nowiki>
|Methods=
+
|InheritsFrom=object|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|Description=<nowiki>A short description of the functionality for an admin user to better understand what it actually does.</nowiki>}}
Line 9: Line 9:
 
{{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|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|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|Inherited=object|Description=<nowiki>The name of the type of object.</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|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|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>}}
Line 15: Line 15:
 
{{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|Description=<nowiki>Documentation for return value of calling the script.</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|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:RoleExtensionDocumentation]]
 
[[Category:Roles]]
 
[[Category:Roles]]

Latest revision as of 10:29, 8 July 2020

RoleExtensionDocumentation



Documents how a given role extension can be called

Parent class

Inherits from object

Methods

  • (From object) string ToString() - The string representation of the object.

Properties

  • LocalizedString Description { get; } - A short description of the functionality for an admin user to better understand what it actually does.
  • bool IncludeChildrenInPath { get; set; } - If true and LimitToPath is set, then LimitToPath applies to any role with the path as prefix. Default is false.
  • string LimitToPath { get; set; } - If set, only roles in a given path are applicable for this role extensions. Default is Empty.
  • LocalizedString Name { get; } - The name of the functionality for an admin user to see.
  • (From object) string ObjectTypeName { get; } - The name of the type of object.
  • Array of RoleExtensionParameterDocumentation Parameters { get; set; } - Documentation for possible parameters.
  • 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.
  • 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.
  • Array of RoleExtensionQueryValueDocumentation Result { get; set; } - Documentation for return value of calling the script.
  • 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.