codecamp

Smarty成员方法:enableSecurity()

Name

enableSecurity() — 开启安全检查

说明

string enableSecurity(string securityclass);
string enableSecurity(object securityobject);
string enableSecurity();

开启模板的安全检查。 参数如下:

  • securityclass可选,安全机制中设定的类。

  • securityobject可选,安全机制中设定的对象。

关于安全机制,详细请参见安全。

参见 disableSecurity(), 和 安全.

Smarty成员方法:display()
Smarty成员方法:fetch()
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定