Get a value for a parameter.
Source position: fptemplate.pp line 84
public function TTemplateParser.GetParam( |
const Key: string; |
out AValue: string |
):Boolean; |
Key |
|
Name of the parameter to get a value for. |
AValue |
|
The value for the parameter. |
True if a value was found for the parameter.
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.
Values |
OnGetParam |