ShouldUseCachedPageDataIfAvailableEvent
FinalYes
Event to allow listeners to disable the loading of cached page data when a page is requested.
Does not have any effect if "no_cache" is activated, or if there is no cached version of a page.
Table of Contents
Methods
- __construct() : mixed
- getController() : TypoScriptFrontendController
- getRequest() : ServerRequestInterface
- setShouldUseCachedPageData() : void
- shouldUseCachedPageData() : bool
Methods
__construct()
public
__construct(ServerRequestInterface $request, TypoScriptFrontendController $controller, bool $shouldUseCachedPageData) : mixed
Parameters
- $request : ServerRequestInterface
- $controller : TypoScriptFrontendController
- $shouldUseCachedPageData : bool
getController()
public
getController() : TypoScriptFrontendController
Return values
TypoScriptFrontendControllergetRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacesetShouldUseCachedPageData()
public
setShouldUseCachedPageData(bool $shouldUseCachedPageData) : void
Parameters
- $shouldUseCachedPageData : bool
shouldUseCachedPageData()
public
shouldUseCachedPageData() : bool