Class: TextGroup

CTS.repository.Prototypes. TextGroup

new TextGroup()

Prototype for CTS TextGroup
Properties:
Name Type Description
urn string URN of the TextGroup
titles Object.<string, string> Dictionary of titles to show for the textgroup (Author name)
defaultLang string Default lang to use to display title
works Array.<CTS.repository.Prototypes.Work> Textgroup available in the inventory

Methods

getTitle(lang) → {string}

Get the title of the object
Parameters:
Name Type Argument Description
lang string <nullable>
Lang wished
Returns:
Title of the object. Return default lang if lang not found
Type
string