Toggle menu
913
3.8K
30.2K
279.2K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Folder class

From Catglobe Wiki

Folder


Represents a Folder resource.

Parent class

Inherits from Array

Constructors

  • (int Folder resource id "Folder resource id") - Get an existing folder by resource id
  • (string Folder name "Folder name", int Folder template resource id "Folder template resource id (0 for default)", int Parent resource id "Parent resource id (0 for root)") - Create a new folder

Methods

  • Empty Folder_save() - Save this folder object to the database
  • string ToString() - The string representation of the object.
  • object this[] { get; }(int index "Index") - Backward-compatible indexer
  • Empty this[] { get; }(int index "Index", object value "Value to set") - Backward-compatible indexer

Properties

  • number Average { get; } - Average of the objects in the Array object. Can only use if all the elements are of type Number
  • string Folder_description { get; set; } - Description of the folder
  • bool ManHours { get; set; } - Whether man-hours are calculated automatically
  • number Max { get; } - Largest of all the objects in the Array object. Can only use if all the elements are of type Number
  • number Min { get; } - Smallest of all the objects in the Array object. Can only use if all the elements are of type Number
  • string Name { get; set; } - Name of the folder
  • string ObjectTypeName { get; } - The name of the type of object.
  • int ParentResourceId { get; set; } - Resource id of the parent resource
  • int ResourceId { get; } - Resource id of the folder
  • number Sum { get; } - Sum of all the objects in the Array object. Can only use if all the elements are of type Number
  • int TemplateResourceId { get; set; } - Resource id of the folder template
  • int TimeBudget { get; set; } - Man-hours budget for the folder
  • bool TimeRegistration { get; set; } - Whether time registration is enabled
  • TypeInformation TypeInformation { get; } - Get information about this class.

Static Methods

  • Folder Folder_getFolderByName(string Folder qualified name "Folder qualified name") - Get a folder array object by its qualified name. Returns empty if not found.
  • Folder Folder_getFolderByResourceId(int Folder resource id "Folder resource id") - Get a folder array object by its resource id. Returns empty if not found.