This class is a simple template engine based on replacing regular expressions.
It reads template files using the PHP include function to make any PHP in the template file be executed. Then it searches the resulting included file for template placeholders.
It uses regular expressions to match each of the input parameters. The placeholders that are found are replaced by the respective parameter values.