Sets the template. You can either load a template file from disk with loadTemplateFile() or set the template manually using this function.
template content
remove unknown/unused variables?
remove empty blocks?
Таблица 42-1. Возможные значения PEAR_Error
Error code | Error message | Reason | Solution |
---|---|---|---|
SIGMA_BLOCK_DUPLICATE | The name of a block must be unique within a template. Block 'blockname' found twice. | The $template contains two blocks sharing the same name | Check the $template and rename one of the the blocks to something else |
SIGMA_CALLBACK_SYNTAX_ERROR | Cannot parse template function: (error description) | Bogus syntax for template function parameters. | Fix the template function definition, pay special attention to quoting rules. |
Пред. | Начало | След. |
setRoot() | Уровень выше | setVariable() |
HIVE: All information for read only. Please respect copyright! |