©This document usesPHP Chinese website manualRelease
last is set to true if the current section iteration is the last one.
如果当前循环执行到最后一次,last 被设置为true.
Example 7-26. section property last例 7-26. section 的 last 属性演示
{section name=customer loop=$custid} {if $smarty.section.customer.first}