Documentation du code de SPIP et de ses plugins

SPIP

FondResolverListener
in package

FinalYes
Attributes
#[AsEventListener]
$event: \Symfony\Component\HttpKernel\KernelEvents::REQUEST
$priority: 32

Table of Contents

Constants

DEFAULT_PAGE_PARAM  = 'page'
REQUEST_ATTRIBUTE  = '_spip_fond'

Methods

__invoke()  : void
containsForbiddenPath()  : bool
detectDefaultFond()  : string
getPageParam()  : string
resolveFond()  : string
throwForbiddenResponse()  : never

Constants

Methods

containsForbiddenPath()

private containsForbiddenPath(string $fond) : bool
Parameters
$fond : string
Return values
bool

resolveFond()

private resolveFond(Request $request) : string
Parameters
$request : Request
Return values
string

        
On this page

Search results