开发者

php functions using with smarty template [closed]

开发者 https://www.devze.com 2023-01-30 00:36 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_如何学JAVA Closed 10 years ago.

please give some note about php functions using with smarty template


Smarty does allow you to call PHP functions, but it's assumed that you shouldn't need to and so it's not as easy as it could be. The general philosophy of Smarty is that you should avoid tying your templates too closely to your application code (i.e. the PHP), as this would make Smarty itself somewhat redundant.

This thread may be of use:

http://www.smarty.net/forums/viewtopic.php?p=46985


Yes, the smarty template engine does work with PHP. If you wish to have a look at a tutorial have a look at the smarty website.

0

精彩评论

暂无评论...
验证码 换一张
取 消