Loads template from a string and controls the behavior in case of unused variables and blocks
string $template - The content of the template.
boolean $removeUnknowVariables - if TRUE, not substituted placeholders in a block will be removed
boolean $removeEmptyBlocks - if TRUE, not touched blocks will be removed
Example 41-1. Script
|