Helping ordinary people create extraordinary websites!


HTML_Template_IT::setCurrentBlock()

HTML_Template_IT::setCurrentBlock() -- set the current block

Description

Sets the name of the current block, where placeholder should be substituted. The current block can be parsed with HTML_Template_IT::parseCurrentTemplate().

Parameter

  • string $block - block to set, if not given, the complete template is set

Return value

boolean - TRUE, if found and succcessful set, otherwise IT_Error will be returned.

Note

This function can not be called statically.