【文件属性】:
文件名称:php模板引擎
文件大小:6KB
文件格式:PHP
更新时间:2015-09-23 07:34:05
php 模板引擎 php模板引擎
使用方法:
<?php
require_once "template.class.php";
$tpl=new TEMPLATE_MAIN;
$tpl->assign("test","Hello World!");
require_once $tpl->display("Hello_World.tpl");
?>
HelloWorld.tpl
<!--{$test}-->