HTML_Template_IT::touchBlock()

HTML_Template_IT::touchBlock() -- preserve empty block

Referentiesamenvatting

require_once 'HTML/Template/IT.php';

boolean HTML_Template_IT::touchBlock (string $block)

Beschrijving

Preserves an empty template block, even if $removeEmptyBlocks is TRUE and no substition of placeholders took place.

Parameter

Return waarde

boolean - TRUE, if block was found, otherwise 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.