HTML_Template_IT::parseCurrentBlock()

HTML_Template_IT::parseCurrentBlock() -- parse the current block

Synopsis

require_once 'HTML/Template/IT.php';

void HTML_Template_IT::parseCurrentBlock ()

Description

Parses the current block. The current block can be set with HTML_Template_IT::setCurrentBlock().

Valeur retournée

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

Exemple

Valeurs renvoyées

Tableau 42-1. Valeurs PEAR_Error possibles

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

Cette fonction ne peut pas être appelée de façon statique.

Voir aussi

HTML_Template_it::parse(), HTML_Template_it::setCurrentBlock()