HTML_Template_IT::setTemplate()

HTML_Template_IT::setTemplate()

HTML_Template_IT::setTemplate() -- set a template

Description

Sets the template and controls the behavior in case of unused variables and blocks

Parameter

  • string $template - template

  • boolean $removeUnknowVariables - if TRUE, not substituted placeholders in a block will be removed

  • boolean $removeEmptyBlocks - if TRUE, not touched blocks will be removed

Return value

boolean - Returns TRUE on success, FALSE on failure.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.