Methods
-
<static> getApplicationVersion() → {string}
-
Description
Get the current SSP application version
Returns
-
<static> addFeedback( feedback ) → {boolean}
-
<static> getUIMessages() → {Object}
-
Description
Retrieve all UI messages configured specifically for the SSP portal and the users language
Returns
-
<static> getApplicationConfiguration() → {ApplicationConfiguration}
-
Description
Retrieve the portal configuration object
Returns
-
<static> _getChatUIScriptUrl() → {string}
-
Description
Get the Chat UI Popin script url
Returns
-
<static> _getMkzHeader() → {Array.<MenuItem>}
-
Description
Get the MKZ header menu options
Returns
-
<static> pageSearch( sourceText, searchValue ) → {number}
-
Description
Generic search algorythm for every search on the portal, return -1 if not found otherwise a score between 0 and 100 (included)
Parameters
Name Type Description sourceTextstring Concatenated string that includes all text to be searched in
searchValuestring The value to search for
Returns
Details
-
<static> getConfigurationProperty( property, defaultValue [, parse ] ) → {Object|string}
-
Description
Retrieve a system property by name
Parameters
Name Type Attributes Default Description propertystring Property name to retrieve, for JSON string properties
defaultValueany Default value if property can't be read
parseboolean <optional> true Whether to parse JSON into an object or not, true will return a parsed object or {}, not a string
Returns
-
<static> getNgTemplates() → {Array.<AngularTemplate>}
-
Description
Retrieve all the kpn-ssp templates so that they can be pre-loaded in the client application
Returns
-
<static> getMenuItemList() → {Array.<MenuItem>}
-
Description
Retrieve a list of enabled menu items, eg menu items available for the current user
Returns
-
<static> getNewsList() → {Array.<ListItem>}
-
Description
Get a list of available news items
Returns