public static function renderItem($item, $active)
    {
        $class = "";
        if($active === true) {
            $class = "current";
        }

        $html = '<a href="'.URL::to($item["link"]).'" class="tip-bottom '.$class.'">';
        if($item["icon"] !== '') {
            $html .= '<i class="glyphicon '.$item["icon"].'"></i>';
        }

        $html .= $item["title"].'</a>';

        return $html;
    }
public static function renderItem($item, $active)
    {
        $class = "";
        if($active === true) {
            $class = "current";
        }

        $html = '<a href="'.URL::to($item["link"]).'" class="tip-bottom '.$class.'">';
        if($item["icon"] !== '') {
            $html .= '<i class="glyphicon '.$item["icon"].'"></i>';
        }

        $html .= $item["title"].'</a>';

        return $html;
    }
public static function renderItem ( $ item , $ active ) { $ class = "" ; if ( $ active === true ) { $ class = "current" ; } $ html = '<a href="' . URL :: to ( $ item [ "link" ] ) . '" class="tip-bottom ' . $ class . '">' ; if ( $ item [ "icon" ] !== '' ) { $ html .= '<i class="glyphicon ' . $ item [ "icon" ] . '"></i>' ; } $ html .= $ item [ "title" ] . '</a>' ; return $ html ; }
Render the current item
@param array $item part of the breadcrumb
@param boolean $active current breadcrumb is active
@return string
Render the current item