undefined

API Docs for: 5.4.2
Show:

TmplHelper Class

A set of functions used to support and standardize the use of templating.

Imports RAMP Modules:

RAMP
TmplUtil

Item Index

Methods

Methods

template

(
  • key
  • data
  • templates
)
String private

Populates a template specified by the key with the supplied data.

Parameters:

  • key String

    template name

  • data Object

    data to be inserted into the template

  • templates Object

    a set of templates to run the engine against

Returns:

String:

a string template filled with supplied data