User Tools

Site Tools


DzCategoryAssetContainer

A container type for assets that are assigned a particular classification.

More...

Inherits :

Properties

DAZ Script
BooleanisVendor

Methods

DAZ Script
ArraygetAssetsInCategory ( Boolean userFacing=true, Boolean installed=true )
StringgetPath ()
voidupdateRow ()

Detailed Description

A “Category” is described as a class or collection of entities regarded as having common traits and/or characteristics. Within a given class or collection of entities, certain traits and/or characteristics may be regarded as being shared by a smaller subset - i.e., a “Sub-Category.” Thus, categorization naturally supports a hierarchical structure.

The “Category” container type serves to provide a means of working with “Assets” that share characteristics without the encumbrances imposed by moving the actual files they represent on disk - moving or renaming files on disk breaks the correlation between the file and the “Asset” that represents it.

See Also:

Properties


Boolean : isVendor

Holds whether this category is owned by a vendor or by the user. (Read Only)

Since:

  • 4.9.3.110

Methods


Array : getAssetsInCategory( Boolean userFacing=true, Boolean installed=true )

Parameter(s):

  • userFacing - Whether or not to limit the list to user-facing assets.
  • installed - Whether or not to limit the list to installed assets.

Return Value:

  • A list of assets associated with the path of this container, matching the criteria specified.

See Also:

Since:

  • 4.9.3.56

String : getPath()

Return Value:

  • The full path of the category that this container represents.

Since:

  • 4.9.2.48

void : updateRow()

Updates the container using the data that is currently stored in the database.