This method uses HtmlHelper::tag() to generate list and its elements. Works
similar to HtmlHelper::getCrumbs(), so it uses options which every
crumb was added with.
### Options
- separator Separator content to insert in between breadcrumbs, defaults to ''
- firstClass Class for wrapper tag on the first breadcrumb, defaults to 'first'
- lastClass Class for wrapper tag on current active page, defaults to 'last'
public getCrumbList ( array $options = [], string | array | boolean $startText = false ) : string | null | ||
$options | array | Array of HTML attributes to apply to the generated list elements. |
$startText | string | array | boolean | This will be the first crumb, if false it defaults to first crumb in array. Can also be an array, see `HtmlHelper::getCrumbs` for details. |
리턴 | string | null | Breadcrumbs HTML list. |