2.{$smarty.const} 可以直接访问PHP常量. 例如
3.{$smarty.capture} 可以通过 {capture}..{/capture}结构 截取的输出可以使用{$smarty} 变量访问. 4.{$smarty.config} {$smarty}变量 可以访问已经加载的config变量 例如 {$smarty.config.foo}就可以表示 {#foo#} 5.{$smarty.section}, {$smarty.foreach} {$smarty} 变量可以访问'section'和'foreach'循环的属性 6.{$smarty.template} 显示当前被处理的模板的名字 7.{$smarty.version} 显示smarty模板的版本 8.{$smarty.ldelim} 显示左分隔符 9.{$smarty.rdelim} 显示右分隔符 |
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号