HTML_Template_IT::parseCurrentBlock()
Описание
Parses the current block. The current block can be set with HTML_Template_IT::setCurrentBlock().
Возвращаемое значение
boolean - Returns TRUE if there was no placeholder to substitute, otherwise FALSE or IT_Error.
Пример
Пример 43-1. The template cvsnames.tpl.htm
|
Пример 43-2. Script
|
Throws
Таблица 43-1. Возможные значения PEAR_Error
Error code | Error message | Reason | Solution |
---|---|---|---|
IT_BLOCK_NOT_FOUND | " Cannot find this block block " | The given block does not exists. | Check for typing mistakes in the argument. |
Пред. | Начало | След. |
HTML_Template_IT::parse() | Уровень выше | HTML_Template_IT::setCurrentBlock() |