Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何让 Savant3 模板呈现为字符串,而不是直接将其输出到网页?
使用fetch方法而不是通常的display方法。
$my_template_output = $tpl->fetch('mytemplate.tpl.php');