Tpl::output('index_sign',$nav_id);
重要:
output 第一个参数是什么意思
第二个参数是什么意思
回复讨论(解决方案)
Tpl::output();
//向模板抛出内容
就是将$nav_id变量绑定到index_sign中,以便模板文件中可以通过 $output['index_sign'] 来获取。
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn