HTML_Template_IT::touchBlock()

HTML_Template_IT::touchBlock() -- preserve empty block

Synopsis

require_once 'HTML/Template/IT.php';

boolean HTML_Template_IT::touchBlock (string $block)

Описание

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

Параметр

Возвращаемое значение

boolean - TRUE, if block was found, otherwise IT_Error.

Пример

Throws

Таблица 42-1. Возможные значения PEAR_Error

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.

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ