Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
addElement ( string $title, string $url = null ) | Add an element | |
clear ( integer $key = null ) | Clear all (or a specific) elements in the breadcrumb | |
count ( ) : integer | Count number of breadcrumbs that are already added. | |
getItems ( ) : array | Get all elements | |
parse ( ) | Parse the breadcrumb into the template |
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |
public addElement ( string $title, string $url = null ) | ||
$title | string | The label that will be used in the breadcrumb. |
$url | string | The URL for this item. |