日期:2014-05-17  浏览次数:20492 次

smarty section
我想用section遍历一个我自定义类的数组 请问应该怎么操作呢

------解决方案--------------------
{section name=index loop=$数组}
{$数组[index]} 
{/section}

更多内容请参考smarty手册。