看板
[ PHP ]
討論串[請益] smarty樣板關聯剖析
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
自問自答, 剛試寫一下, 先把骨幹弄出來:. <?php. //smarty樣板關聯剖析器. smarty_template_parser($argv[1]);. function smarty_template_parser($filename,$layer=0){. //0 記下樣版檔的路徑名稱
(還有1029個字)
內容預覽:
請教關於smarty的功能:. smarty可有提供方法, 可將所有樣板的關聯結構呈現出來? 只要能抓. 有 include 關聯的就行了.. 例如:. a.tpl的內容裏含有<{include file='b.tpl'}>, 及<{include file='c.tpl'}>,. 而b.tpl的內
(還有58個字)
首頁
上一頁
1
下一頁
尾頁