HTML_Template_IT::parseCurrentBlock()

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

Áttekintés

require_once 'HTML/Template/IT.php';

void HTML_Template_IT::parseCurrentBlock ()

Leírás

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

Visszatérési érték

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

Példa

Lehetséges hibaértékek

Táblázat 43-1. Lehetséges PEAR_Error visszatérési értékek

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.

Megjegyzés

Ez a függvény nem hívható statikusan.

Lásd

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