課程
/后端開發(fā)
/PHP
/MVC架構(gòu)模式分析與設(shè)計
根據(jù)視頻中的代碼,我在Smarty類中并沒有找到這兩個方法啊,但是確實可以調(diào)用,但也有一部分報錯
這兩個方法是怎么進行調(diào)用的啊??
2018-12-04
源自:MVC架構(gòu)模式分析與設(shè)計 5-3
正在回答
https://github.com/smarty-php/smarty/releases/tag/v3.1.33這個是下載smarty下載地址
下載好的smarty里面應(yīng)該就有的,直接引用后是可以用的。
舉報
通過學(xué)習(xí)MVC理論知識,由淺入深帶您實現(xiàn)人生第一個MVC框架
1 回答smarty display不成功
2 回答關(guān)于smarty 模板 assign的用法問題
1 回答left_delimiter = "{"; $smarty->right_delimiter = "}"; $smarty->template_dir = "tpl"; $smarty->compile_dir = "template_c"; $smarty->cache_dir = "cache"; $smarty->assig('articletitle', '文章標題'); $smarty->display('test.tpl'); ?>
1 回答samrty中assign的寫法
6 回答這種MVC框架怎么和AJAX 結(jié)合起來呢?Smarty 的display()函數(shù)能局部更新界面嗎?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2018-12-25
https://github.com/smarty-php/smarty/releases/tag/v3.1.33這個是下載smarty下載地址
2018-12-24
下載好的smarty里面應(yīng)該就有的,直接引用后是可以用的。