SproutCMS

This is the code documentation for the SproutCMS project

function renderCrumbs()

Renders a custom breadcrumb based on an array of crumbs

Usage

string Navigation::renderCrumbs ( array $crumbs [, string $seperator_front [, string $seperator_back ]] );

Arguments

  1. array $crumbs
    Crumbs for the breadcrumb. Should be in the format url => label
  2. string $seperator_front = »
    The separator to use. Defaults to ' >> '
  3. string $seperator_back = ''
    The separator for the closing tag, if needed.

Return value

  • string
    HTML