Pear HTML_Template_ITデバックメモ
php pear HTML_Template_ITデバックメモです
http://pear.php.net/manual/ja/package.html.html-template-it.php
環境
Template - IT
IT.php,v 1.20
<?php $tpl = new HTML_Template_IT(); $tpl->loadTemplatefile('index.tpl'); もろもろの処理を書く //エラーリストを表示 print_r($tpl->err); // カレントブロックのパース時にエラーが出ているかをチェック $msg = $tpl->setCurrentBlock('hoge'); print_r($msg)