Replace a tag with a value.
Source position: fptemplate.pp line 83
public function TTemplateParser.ReplaceTag( |
const Key: string; |
TagParams: TStringList; |
out ReplaceWith: string |
):Boolean; |
Key |
|
Name of the tag to replace. |
TagParams |
|
Parameters for the tag. |
ReplaceWith |
|
The replacement value for the tag. |
True if the tag was replaced.
ReplaceTag will replace the tag with name Key and parameters TagParams with the value in ReplaceWith.
The function returns True if the tag was replaced, False otherwise. A replacement will happen if the OnReplaceTag event is assigned.
OnReplaceTag |