Difference between revisions of "RoleExtensionParameter class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=<nowiki>RoleExtensionParameter</nowiki> |Description=<nowiki>Parameters for executing a role extension</nowiki> |Methods= {{CGscriptMethods_Temp...")
 
(Tag: visualeditor)
Line 11: Line 11:
 
{{CGscriptProperties_Template|ReturnType=Array of Array|Name=<nowiki>WriteableValues</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Update values per user/role. Must match the ordering of the return documentation for the writeable values. May be empty for querying, or each element may be empty if not updating.</nowiki>}}
 
{{CGscriptProperties_Template|ReturnType=Array of Array|Name=<nowiki>WriteableValues</nowiki>|HasGetter=1|HasSetter=1|Description=<nowiki>Update values per user/role. Must match the ordering of the return documentation for the writeable values. May be empty for querying, or each element may be empty if not updating.</nowiki>}}
 
}}
 
}}
 +
[[Category:Roles]]

Revision as of 07:45, 19 December 2019

RoleExtensionParameter



Parameters for executing a role extension


Methods

  • RoleExtensionReturn Execute() - Execute call to the role extesion. If called inside a role extension the base/parent version is called if any. May return Empty.
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • array Parameters { get; set; } - Parameters if any. Must match the ordering of the documentation.
  • TypeInformation TypeInformation { get; } - Get information about this class.
  • Array of Array WriteableValues { get; set; } - Update values per user/role. Must match the ordering of the return documentation for the writeable values. May be empty for querying, or each element may be empty if not updating.