…って、できない、あるいは {php}break;{/php}
なんかで無理やりにやるとかの情報が多かったけれど、Smarty 3.0.0-RC4の01/10/2010付改訂で {break}
や {continue}
が実装されている…。
01/10/2010
- added {break} and {continue} tags for flow control of {foreach},{section},{for} and {while} loops
smarty/change_log.txt at master · smarty-php/smarty
かなり前の変更になるのに、日本語ヘルプには記載がない…ただし、英語ヘルプには記載がある。