protected function renderCrumb($name, $href, $isLast = false, $position = null)
    {
        if ($this->divider) {
            $divider = " <span class=\"divider\">{$this->divider}</span>";
        } else {
            $divider = '';
        }

        if ($position != null) {
            $positionMeta = "<meta itemprop=\"position\" content=\"{$position}\" />";
        } else {
            $positionMeta = "";
        }

        if (!$isLast) {
            return '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" '
                . "class=\"{$this->listItemCssClass}\" >"
                . "<a itemprop=\"item\" href=\"{$href}\"><span itemprop=\"name\">{$name}</span></a>"
                . "{$positionMeta}{$divider}</li>";
        } else {
            return '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" '
                . "class=\"{$this->listItemCssClass} active\"><span itemprop=\"name\">{$name}</span>"
                . "{$positionMeta}</li>";
        }
    }
protected function renderCrumb($name, $href, $isLast = false, $position = null)
    {
        if ($this->divider) {
            $divider = " <span class=\"divider\">{$this->divider}</span>";
        } else {
            $divider = '';
        }

        if ($position != null) {
            $positionMeta = "<meta itemprop=\"position\" content=\"{$position}\" />";
        } else {
            $positionMeta = "";
        }

        if (!$isLast) {
            return '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" '
                . "class=\"{$this->listItemCssClass}\" >"
                . "<a itemprop=\"item\" href=\"{$href}\"><span itemprop=\"name\">{$name}</span></a>"
                . "{$positionMeta}{$divider}</li>";
        } else {
            return '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" '
                . "class=\"{$this->listItemCssClass} active\"><span itemprop=\"name\">{$name}</span>"
                . "{$positionMeta}</li>";
        }
    }
protected function renderCrumb ( $ name , $ href , $ isLast = false , $ position = null ) { if ( $ this -> divider ) { $ divider = " <span class=\"divider\">{$this->divider}</span>" ; } else { $ divider = '' ; } if ( $ position != null ) { $ positionMeta = "<meta itemprop=\"position\" content=\"{$position}\" />" ; } else { $ positionMeta = "" ; } if ( ! $ isLast ) { return '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" ' . "class=\"{$this->listItemCssClass}\" >" . "<a itemprop=\"item\" href=\"{$href}\"><span itemprop=\"name\">{$name}</span></a>" . "{$positionMeta}{$divider}</li>" ; } else { return '<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem" ' . "class=\"{$this->listItemCssClass} active\"><span itemprop=\"name\">{$name}</span>" . "{$positionMeta}</li>" ; } }
Renders a single breadcrumb, Twitter Bootstrap-style.

@param string $name
@param string $href
@param boolean $isLast
@param number $position
@return string
Renders a single breadcrumb Twitter Bootstrap - style .