Re: あまり知られていない(?)Smartyフィルターの利用法(2)
Target |
News |
Subject |
un-well-known(?) usage of Smarty modifier (2) |
Summary |
You should learn how Smarty calls the function written as a modifier.In Smarty's template:<{param1|function:param2:param3:param4}>Compiled php code:echo function( param1 , param2 , param3 , param4 ) ;(This is a simplified code. The real compiled code i... |
List posts in the topic
Re: あまり知られていない(?)Smartyフィルターの利用法(2)
msg# 1
ちょ、これは便利なんですが、多用はマズイですね。(苦笑)
Smartyの利点は「View」の機能を制限させること・・と思っているので、何でもかんでもテンプレートでできるのは{php}ブロック同様に辛いかも。
面倒とは思いつつも、プラグイン書いて登録しています・・・。あー、でもXOOPSなんかは簡単に登録できないし、しょうがないか・・・。
Votes:0
Average:0.00
Posts tree