Свойство | Type | Description | |
---|---|---|---|
$app | Illuminate\Foundation\Application | Laravel application | |
$menuRepository |
Свойство | Type | Description | |
---|---|---|---|
$auth | Guard | The Guard implementation. |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Foundation\Application $app ) : void | Create a new instance. | |
generateUrl ( |
||
getCurrentUrl ( ) : null | ||
getLeafMenuItem ( null $leaf = null ) : mixed | null | ||
getMenuBranch ( $leaf = null ) | ||
getMenuItem ( $input ) : mixed | ||
getVariables ( |
||
renderBreadcrumbTrail ( null $leaf = null, string $topNode = 'root', boolean $includeTopNode = false ) : Illuminate\View\View | ||
renderBreadcrumbTrailItem ( |
||
renderMenu ( string $topNode = 'root', boolean $includeTopNode = false ) : Illuminate\View\View | Builds a representation of the menu for the defined framework and return it starting at the $topNode. | |
renderMenuItem ( |
||
replaceVars ( $string, $vars ) : mixed |
public __construct ( Illuminate\Foundation\Application $app ) : void | ||
$app | Illuminate\Foundation\Application | |
Résultat | void |
public getVariables ( |
||
$menu | ||
$variables | array | |
Résultat | array |
public renderMenu ( string $topNode = 'root', boolean $includeTopNode = false ) : Illuminate\View\View | ||
$topNode | string | can be an instance of a Menu object, it's id or name. It is set to 'root' by default. |
$includeTopNode | boolean | indicates whether to include the root node itself or not. It's default value is 'false'. |
Résultat | Illuminate\View\View |
public renderMenuItem ( |
||
$item | ||
$variables | array | |
Résultat | string |
public replaceVars ( $string, $vars ) : mixed | ||
$string | ||
$vars | ||
Résultat | mixed |
public Application,Illuminate\Foundation $app | ||
Résultat | Illuminate\Foundation\Application |