HTML_Template_IT::setOption() (Previous) (Next) HTML_Template_IT::setVariable()

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTML_Template_IT::setTemplate()

HTML_Template_IT::setTemplate() -- set a template

Description

Loads template from a string and controls the behavior in case of unused variables and blocks

Parameter

  • 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

Return value

boolean - Returns TRUE on success, FALSE on failure.

Note

This function can not be called statically.

HTML_Template_IT::setOption() (Previous) (Next) HTML_Template_IT::setVariable()

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.