Alias for Breadcrumbs::addCrumb method.
public add ( string $name = '', string $href = '', boolean $hrefIsFullUrl = false ) | ||
$name | string | The name of this breadcrumb, which will be seen by the users. |
$href | string | If this parameter begins with a forward slash, it will be treated as a full URL, and the `$hrefIsFullUrl` parameter will be forced to `true`, regardless of its value. |
$hrefIsFullUrl | boolean | Whether the `$href` argument is a full URL or just a segment. The difference is that segments will be built upon previous breadcrumbs, while full URLs will be returned as they are inputted. This can be automatically forced to `true`, depending on the `$href` argument - read its description for details. |