TTemplateParser.GetParam¶
Get a value for a parameter.
Declaration¶
Source position: fptemplate.pp line 84
public
function TTemplateParser.GetParam(const Key: string; out AValue: string)
: Boolean;
Description¶
GetParam will get the value for the parameter with name Key and return it in AValue.
First, the Values list is consulted. If the parameter is not found there, the OnGetParam event is called. If the parameter is found, the function returns True, otherwise it returns False.
See also¶
| Name | Description |
|---|---|
| Values | |
| OnGetParam |