ContentService Class
Service for content settings retrieval
Methods
get
(
-
cb
Retrieves the content settings. When settings are not found in storage the service will generate defaults and persist them.
Parameters:
-
cbFunctionCallback function
getDefaultSettings
()
Object
Retrieves the default content settings from installation
Returns:
Object:
Content settings
getSettings
(
-
cb
A long named alias of 'get'
Parameters:
-
cbFunctionCallback function
getTimestampText
(
static
-
options
Parameters:
-
optionsObject-
dateDate -
formatString -
twoDigitDateBoolean -
displayTimeBoolean -
timeFormatString -
twoDigitTimeBoolean -
lsLocalization
-
getTimestampTextFromSettings
(
-
date -
contentSettings
Returns a formatted time stamp from a date
Parameters:
-
dateDate -
contentSettingsObject
