| HTML_Template_IT | HTML_Template_PHPLIB |
| HTML_Template_IT | |
| PEAR Manual | |
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.
string $block - block to preserve
boolean - TRUE, if block was found, otherwise IT_Error.
Template - login.tpl.htm
<html>
<body>
<!-- BEGIN login_successfull -->
You have logged in successfully!
<!-- END login_successfull -->
<!-- BEGIN login_failed -->
Login failed
<!-- END login_failed -->
</body>
</html>
|
Script
|
| 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. |
This function can not be called statically.
| HTML_Template_IT | HTML_Template_PHPLIB |
| HTML_Template_IT | |
| PEAR Manual | |