HTML_Template_IT::parse()

HTML_Template_IT::parse() -- parse a block

Referentiesamenvatting

require_once 'HTML/Template/IT.php';

void HTML_Template_IT::parse ([string $block = "__global__" [, boolean $flag_recursion = FALSE]])

Beschrijving

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

Parameter

Return waarde

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

Voorbeeld

Throws

Tabel 42-1. Mogelijke PEAR_Error waarden

Error codeError messageReasonSolution
IT_BLOCK_NOT_FOUND " Cannot find this block block " The given block does not exists. Check for typing mistakes in the argument.

Note

Deze functie kan niet statisch worden aangeroepen.

Zie

HTML_Template_it::parseCurrentBlock()