<ul> <?php foreach ($this->aktorzy as $aktor): ?> <li> <a href="<?php echo $this->url(array('slug' => $aktor['slug']), 'aktor_show') ?>"> <?php echo $aktor ?> </a> </li> <?php endforeach; ?> </ul>
Listing 22.11. Widok częściowy aktor_index.phtml
Rozdział 22. Widoki częściowe