Свойство | Тип | Описание | |
---|---|---|---|
$navigation | array | The navigation array, will be used to build the navigation |
Свойство | Тип | Описание | |
---|---|---|---|
$URL | URL-instance |
Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
buildCache ( ) | Build navigation cache file. | |
getCacheDirectory ( ) : string | ||
parse ( |
Метод | Описание | |
---|---|---|
addActiveStateToNavigation ( array $navigation, integer $depth ) : mixed | ||
buildNavigation ( integer $parentId, string &$output, integer $depth = 1 ) | Build navigation tree for a parent id. | |
cleanup ( array $navigation ) : array | Clean the navigation | |
compareURL ( array $value, integer $key, array $keys = [] ) : mixed | Try to determine the selected state | |
getNavigationUrl ( integer $id ) : string | Get the url of a navigation item. | |
getSelectedKeys ( ) : array | Get the selected keys based on the current module/actions |
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel ) | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |
public static getCacheDirectory ( ) : string | ||
Результат | string |