Skip to main content
Version: 2.0

register

Callable


  • Register the class constructor as the class associated to the specified tag.

    This creates the link between a class and an DataType in the database. Once this link is created, all the instances of the DataType (model) are instantiated as JS objects using the specified class (see CloudObject.get)


    Parameters

    • tag: Tag

      tag of the DataType

    • object: typeof CloudObject

      CloudObject constructor

    Returns void