Helping ordinary people create extraordinary websites!


HTML_Template_IT::parse()

HTML_Template_IT::parse() -- parse a block

Description

Parses the defined block, performs all substitutions and appends the result to already parsed blocks.

Parameter

  • string $block - block to parse. When not set the complete template is used.

  • boolean $flag_recursion - Used internally. Can be ignored

Return value

boolean - Returns TRUE if there was no placeholder to substitute, otherwise FALSE or IT_Error.

Note

This function can not be called statically.