看板 [ PHP ]
討論串[請益] smarty樣板關聯剖析
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 2→)留言4則,0人參與, 最新作者bobju (寶貝豬)時間16年前 (2009/09/26 10:55), 編輯資訊
0
0
0
內容預覽:
自問自答, 剛試寫一下, 先把骨幹弄出來:. <?php. //smarty樣板關聯剖析器. smarty_template_parser($argv[1]);. function smarty_template_parser($filename,$layer=0){. //0 記下樣版檔的路徑名稱
(還有1029個字)

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者bobju (寶貝豬)時間16年前 (2009/09/26 03:09), 編輯資訊
0
0
0
內容預覽:
請教關於smarty的功能:. smarty可有提供方法, 可將所有樣板的關聯結構呈現出來? 只要能抓. 有 include 關聯的就行了.. 例如:. a.tpl的內容裏含有<{include file='b.tpl'}>, 及<{include file='c.tpl'}>,. 而b.tpl的內
(還有58個字)
首頁
上一頁
1
下一頁
尾頁