我发现了用Smarty2写的旧网页,我不明白这个。你能告诉我这两者的区别吗?
$_Html = new SmartyC(TRUE);
and
$_Html = new Smarty();我在手册中找不到SmartyC()。
发布于 2013-05-16 19:13:17
在整个网站项目中搜索class SmartyC。我假设,您将找到一个自定义类,它以某种方式扩展了原始的Smarty类,如下所示:
class SmartyC extends Smarty
{
function _construct($b)
{
// do something with $b like
// if($b)
// {
// $this->caching = true;
// }
}
}https://stackoverflow.com/questions/16585605
复制相似问题