Class
caplin.services.providers

CaplinHtmlResourceService

This class provides access to HTML templates loaded via the HTML bundler. This is the default Caplin HtmlResourceService

Constructor Summary

Attributes Name and Description
caplin.services.providers.CaplinHtmlResourceService(String sUrl)

Method Summary

Attributes Name and Description
String getHTMLTemplate(String sTemplateId)

Access an HTML template by name.

Constructor Detail

caplin.services.providers.CaplinHtmlResourceService(String sUrl)

Parameters
String sUrl A URL to load HTML from.

Method Detail

String getHTMLTemplate(String sTemplateId)

Access an HTML template by name.

Parameters
String sTemplateId The identifier of the root element of the template you wish to retrieve.
Returns
The template HTML as a string.