HTML_Template_IT::show() -- print a block including replacments
Description
This functions prints a block with all replacements done.
Throws
Table 47-1. Possible PEAR_Error values
| Error code | Error message | Reason | Solution |
|---|
| IT_BLOCK_NOT_FOUND |
"
Cannot find this block block
"
|
The given block does not exists.
|
Check for typing mistakes in the argument.
|
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.
|
|