您好,欢迎访问一九零五行业门户网

说说TP框架中{$smarty.const.__SELF__}是什么意思

下面thinkphp框架教程栏目将给大家介绍下{$smarty.const.__self__}是什么意思,希望对需要的朋友有所帮助!
问题描述:
请问在thinkphp中的{$smarty.const.__self__}是什么意思,我只搜到了think.const.__self
分析解答:
smarty是一个php模板引擎;
然后说的这个$smarty.const是他的一个语法,用来直接访问php的常量。
参考:
https://www.smarty.net/docs/zh_cn/language.variables.smarty.tpl
{$smarty.const.__self__}连起来就是在这个模板引擎中,直接访问你定义的php常量__self__
推荐:《最新的10个thinkphp视频教程》
以上就是说说tp框架中{$smarty.const.__self__}是什么意思的详细内容。
其它类似信息

推荐信息