Methods
getAliasByClass(classObj) → {string}
Looks up an alias by its class
Parameters:
| Name | Type | Description |
|---|---|---|
classObj |
object | The class belonging to the alias to retrieve |
- Source:
Returns:
The alias belonging to the specified class
- Type
- string
getClassByAlias(aliasName) → {object}
Looks up a class by its alias
Parameters:
| Name | Type | Description |
|---|---|---|
aliasName |
string | The alias belonging to the class to retrieve |
- Source:
Returns:
The class belonging to the specified alias
- Type
- object
registerClassAlias(aliasName, classObj)
Registers the class of an object
Parameters:
| Name | Type | Description |
|---|---|---|
aliasName |
string | The alias to register the class under |
classObj |
object | The class to preserve and to associate with the alias |
- Source:
unregisterClassAlias(aliasName)
Unregisters the class of an object
Parameters:
| Name | Type | Description |
|---|---|---|
aliasName |
string | The alias belonging to the class to unregister |
- Source: