Class ecm.model.ConfiguredLabels
Extends
ecm.LoggerMixin, ecm.MessagesMixin.
Represents the set of custom labels for an application.
Defined in: <ecm\model\ConfiguredLabels.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
constructor(modelObjects)
Constructs the configured labels object
|
|
getLabelValue(key, dojoLocale, htmlEscape)
Returns the value of a label given its key
|
Method Detail
constructor(modelObjects)
Constructs the configured labels object
- Parameters:
- modelObjects
- An array of ecm.model.admin.InterfaceTextConfig objects that represent labels for the application.
{String} getLabelValue(key, dojoLocale, htmlEscape)
Returns the value of a label given its key
- Parameters:
- key
- A string value holding the key of the string to return.
- dojoLocale
- The locale for the label value to return.
- htmlEscape
- Boolean indicating if the value should be html escaped. If not defined, the default is true.
- Returns:
- {String} The requested label value.