Comparing
#1 with
#2
Revision #2 was created by
jonah on Mar 19, 2009, 10:22:09 PM.
added flexability to the delimiter
Content
[...]
```php
<?php
class BreadCrumb extends CWidget {
public $crumbs = array();
public $delimiter = '/ / ';
public function run() {[...]
}
if(next($this->crumbs)) {
echo " {$this->delimiter
} ";
}
}[...]
array('name' => 'Login'),
),
'delimiter' => ' →
', // if you want to change it
)); ?>
```