Logidav Docs

Builder
in package
implements ContainerAwareInterface uses ContainerAwareTrait

Class Builder

Table of Contents

Interfaces

ContainerAwareInterface

Constants

SOURCE  = ['menzzo', 'meublePromo']

Properties

$requestStack  : mixed
$dashMenus  : array<string|int, mixed>
$routeNames  : array<string|int, mixed>
$saleShowMenus  : array<string|int, mixed>
$user  : mixed

Methods

getLastSegmentFromUrl()  : mixed
hasAccess()  : bool|void
Checking if user has access to specific route
hasAccessToSaleShow()  : bool
Checking if user has access to sale
mainMenu()  : ItemInterface
setRequestStack()  : mixed
checkMenuPermission()  : mixed
Check permission
getDashboardMenu()  : void
Show dashboard Menu
getSaleShowMenus()  : array<string|int, mixed>
Get sale show menus filtered by sale show attribute

Constants

SOURCE

public mixed SOURCE = ['menzzo', 'meublePromo']

Properties

$requestStack

protected mixed $requestStack
Tags
@var

$dashMenus

private array<string|int, mixed> $dashMenus = []

$routeNames

private array<string|int, mixed> $routeNames = []

$saleShowMenus

private array<string|int, mixed> $saleShowMenus = []

Methods

getLastSegmentFromUrl()

public getLastSegmentFromUrl() : mixed

hasAccess()

Checking if user has access to specific route

public hasAccess(mixed $factory, mixed $name[, string $returnType = 'header' ]) : bool|void
Parameters
$factory : mixed
$name : mixed
$returnType : string = 'header'
Return values
bool|void

hasAccessToSaleShow()

Checking if user has access to sale

public hasAccessToSaleShow(mixed $factory, Sale $sale) : bool
Parameters
$factory : mixed
$sale : Sale
Tags
throws
Exception
Return values
bool

mainMenu()

public mainMenu(FactoryInterface $factory, array<string|int, mixed> $options) : ItemInterface
Parameters
$factory : FactoryInterface
$options : array<string|int, mixed>
Return values
ItemInterface

setRequestStack()

public setRequestStack(mixed $request) : mixed
Parameters
$request : mixed

checkMenuPermission()

Check permission

private checkMenuPermission(mixed $menu) : mixed
Parameters
$menu : mixed

getDashboardMenu()

Show dashboard Menu

private getDashboardMenu(mixed $menu) : void
Parameters
$menu : mixed

getSaleShowMenus()

Get sale show menus filtered by sale show attribute

private getSaleShowMenus(mixed $menu) : array<string|int, mixed>
Parameters
$menu : mixed
Return values
array<string|int, mixed>

        
On this page

Search results