HTML_Template_IT::setVariable() (Previous) (Next) HTML_Template_IT::touchBlock()

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

HTML_Template_IT::show()

HTML_Template_IT::show() -- print a block including replacments

Description

This functions prints a block with all replacements done.

Parameter

  • string $block - The block to return. If not used, the whole template is returned.

Note

This function can not be called statically.

HTML_Template_IT::setVariable() (Previous) (Next) HTML_Template_IT::touchBlock()

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:
Note by: sneakyimp AT hotmail DOT com
Is it necessary to call the parse method before calling the show method or is the parse method only necessary when looping over a single block some number of times? I am having trouble with my main template block showing twice when I call parse on the main block. The documentation here is really not very detailed.