Documentation

AdminUrlGenerator
in package

FinalYes
Tags
author

Javier Eguiluz javier.eguiluz@gmail.com

Table of Contents

Properties

$adminContextProvider  : AdminContextProvider
$currentPageReferrer  : string|null
$customPageReferrer  : string|null
$dashboardControllerRegistry  : DashboardControllerRegistry
$dashboardRoute  : string|null
$includeReferrer  : bool|null
$isInitialized  : bool
$routeParameters  : array<string|int, mixed>
$urlGenerator  : UrlGeneratorInterface

Methods

__construct()  : mixed
__toString()  : string
addSignature()  : self
generateUrl()  : string
get()  : mixed
getSignature()  : string
includeReferrer()  : self
removeReferrer()  : self
set()  : self
setAction()  : self
setAll()  : self
setController()  : self
setDashboard()  : self
setEntityId()  : self
setReferrer()  : self
setRoute()  : self
unset()  : self
unsetAll()  : self
unsetAllExcept()  : self
initialize()  : void
setRouteParameter()  : void

Properties

Methods

addSignature()

public addSignature([bool $addSignature = true ]) : self
Parameters
$addSignature : bool = true
Return values
self

set()

public set(string $paramName, mixed $paramValue) : self
Parameters
$paramName : string
$paramValue : mixed
Return values
self

setAction()

public setAction(string $action) : self
Parameters
$action : string
Return values
self

setAll()

public setAll(array<string|int, mixed> $routeParameters) : self
Parameters
$routeParameters : array<string|int, mixed>
Return values
self

setController()

public setController(string $crudControllerFqcn) : self
Parameters
$crudControllerFqcn : string
Return values
self

setDashboard()

public setDashboard(string $dashboardControllerFqcn) : self
Parameters
$dashboardControllerFqcn : string
Return values
self

setEntityId()

public setEntityId(mixed $entityId) : self
Parameters
$entityId : mixed
Return values
self

setReferrer()

public setReferrer(string $referrer) : self
Parameters
$referrer : string
Return values
self

setRoute()

public setRoute(string $routeName[, array<string|int, mixed> $routeParameters = [] ]) : self
Parameters
$routeName : string
$routeParameters : array<string|int, mixed> = []
Return values
self

unset()

public unset(string $paramName) : self
Parameters
$paramName : string
Return values
self

unsetAllExcept()

public unsetAllExcept(string ...$namesOfParamsToKeep) : self
Parameters
$namesOfParamsToKeep : string
Return values
self

setRouteParameter()

private setRouteParameter(string $paramName, mixed $paramValue) : void
Parameters
$paramName : string
$paramValue : mixed

        
On this page

Search results