為什么 function.test.php這個插件里的函數名是 smarty_function_test ,但是為什么area.tpl模板里只寫個test就可以用smarty_function_test這個插件?
為什么 function.test.php這個插件里的函數名是 smarty_function_test ,但是為什么area.tpl模板里只寫個test就可以用smarty_function_test這個插件?
為什么 function.test.php這個插件里的函數名是 smarty_function_test ,但是為什么area.tpl模板里只寫個test就可以用smarty_function_test這個插件?
2015-01-11
舉報
2015-01-12
他那個是有命名規則的,按它的規則來寫,就會出相應的數據。只需要記得這個規則就行了。如果要理解原理的話,就看看?display這個方法?做了哪些操作。?
2015-01-11
我腦子不太好使,求指教