配列オブジェクト全<?php $userList->count() ?>件 <?php while ($user = $userList->current) { ?> No. <?php $userList->key() + 1 ?><br /> <?php $user->getName() ?><br /> <?php $userList->next() ?> <?php } ?> 参考http://www.symfony-project.org/api/1_4/sfOutputEscaperArrayDecorator |
|