ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
<table cellspacing="0" cellpadding="0" border="0" width="100%" summary="Header navigation table"><tbody><tr><th align="center" colspan="3">Smarty - the compiling PHPtemplate engine</th> </tr><tr><td valign="bottom" align="left" width="25%"><a accesskey="P" href="api.unregister.resource.html">Prev</a></td> <td valign="bottom" align="center" width="50%">Chapter 13. Smarty Class Methods()</td> <td valign="bottom" align="right" width="25%"><a accesskey="N" href="caching.html">Next</a></td> </tr></tbody></table> # testInstall()[安装测试] Name testInstall() ― checks Smarty installation Description void testInstall(); This function verifies that all required working folders of the Smarty installtion can be accessed. It does output a corresponding protocoll. 本函数核实所有Smarty安装文件夹可访问。它输出一个相应的通信协议。(protocoll什么意思?) <table class="EXAMPLE" cellspacing="0" cellpadding="0" border="0" width="100%"><tbody><tr><td> <div class="EXAMPLE"><a name="AEN31334" id="AEN31334"/> <b><span class="PROGRAMLISTING">Example 13.34. testInstall()</span><br/></b><table width="100%" bgcolor="#e0e0e0" border="0"><tbody><tr><td> <pre class="PROGRAMLISTING">&lt;?phprequire_once('Smarty.class.php');$smarty-&gt;testInstall();?&gt;</pre></td> </tr></tbody></table></div> </td> </tr></tbody></table> <table cellspacing="0" cellpadding="0" border="0" width="100%" summary="Footer navigation table"><tbody><tr><td valign="top" align="left" width="33%"><a accesskey="P" href="api.unregister.resource.html">Prev</a></td> <td valign="top" align="center" width="34%"><a accesskey="H" href="index.html">Home</a></td> <td valign="top" align="right" width="33%"><a accesskey="N" href="caching.html">Next</a></td> </tr><tr><td valign="top" align="left" width="33%">unregisterResource()<br/> 注销资源</td> <td valign="top" align="center" width="34%"><a accesskey="U" href="api.functions.html">Up</a></td> <td valign="top" align="right" width="33%">Caching<br/> 缓存</td> </tr></tbody></table>