listAvailableParameters()

Overview

public array function listAvailableParameters(
      string systemTemplate = ""
    , string recipientType  = ""
)

Returns the email parameters available to a template: those of the system template followed by those of the recipient type, one entry per parameter ID. Where both define a parameter, the system template's title and description are used, and the parameter is required if either definition requires it.

Arguments

NameTypeRequiredDescription
systemTemplatestringNo (default="")ID of the system template, if any
recipientTypestringNo (default="")ID of the recipient type, if any