AppProduct class: Difference between revisions
From Catglobe Wiki
More actions
Created page with "{{CGscriptClass_Template |Name=<nowiki>AppProduct</nowiki> |Description=<nowiki>Represents an AppProduct.</nowiki> |InheritsFrom=object|Methods= {{CGscriptMethods_Template|ReturnType=Empty|Name=<nowiki>Save</nowiki>|Description=<nowiki>Apply all changes to the AppProduct</nowiki>}} {{CGscriptMethods_Template|ReturnType=string|Name=<nowiki>ToString</nowiki>|Inherited=object|Description=<nowiki>The string representation of the object.</nowiki>}} |Properties= {{CGscriptProp..." |
(No difference)
|
Latest revision as of 07:49, 29 May 2025
AppProduct
Represents an AppProduct.
Parent class
Inherits from object
Methods
- Empty Save() - Apply all changes to the AppProduct
- (From object) string ToString() - The string representation of the object.
Properties
- string DevelopmentUrl { get; set; } - Get/set the development URL
- bool Enabled { get; set; } - Get/set if the product is enabled
- bool IsSales { get; set; } - Get/set if this is a sales product
- LocalizedString Name { get; } - Get/set the localized name
- string ObjectTypeName { get; } - The name of the type of object.
- int Order { get; set; } - Get/set the order
- ResourceEdit ResourceModel { get; } - Edit the Resource
- CompatibilityArray Roles { get; } - Get the list of roles
- string SvgIcon { get; set; } - Get/set the SVG icon content
- (From object) TypeInformation TypeInformation { get; } - Get information about this class.
- string Url { get; set; } - Get/set the product URL
Static Methods
- AppProduct AppProduct_create() - Create a new AppProduct
- AppProduct AppProduct_getById(int id "Id of the item to fetch") - Fetch AppProduct by primary key. Returns Empty if not found