1 <ul class="breadcrumb">
3 // iterate through the pages
4 foreach ($this->pages as $key => $page):
8 // if this isn't the last page, add a link and the separator
9 if ($key < count($this->pages) - 1):
11 <a href="<?php echo $page->getHref(); ?>"><?php echo $page->getLabel(); ?></a>
12 <span class="divider">/</span>
13 <?php // otherwise, just output the name
16 <?php echo $page->getLabel(); ?>