HTML_Template_IT::setCurrentBlock() -- set the current block
Description
Sets the name of the current block, where placeholder should be
substituted
Return value
boolean -
TRUE, if succcessful set
Throws
Table 31-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.