| HTML_Template_IT::parse() | HTML_Template_IT::setCurrentBlock() |
| HTML_Template_IT | |
| PEAR Manual | |
require_once 'HTML/Template/IT.php';
|
void
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.
The template cvsnames.tpl.htm
<html>
<table>
<!-- BEGIN row -->
<tr>
<td>
{CVS_USERNAME}
</td>
<td>
{REALNAME}
</td>
</tr>
<!-- END row -->
</table>
</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::parse() | HTML_Template_IT::setCurrentBlock() |
| HTML_Template_IT | |
| PEAR Manual | |