smarty的自定义函数

http://www.smarty.net/docs/zh_CN/language.function.cycle.tpl

 

smarty的自定义函数:

{html_opitons values=array() output=array() options=array()}

values和output是必填属性,或者对options赋值为键值型数组。

类似的有:

{html_radios ...}

{html_checkboxes ...}

{html_image file=   href=  alt=   height=  weight= }

 

posted @ 2016-05-20 16:38  夜深人静123  阅读(110)  评论(0编辑  收藏  举报