‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Event\ShouldUseCachedPageDataIfAvailableEvent Class Reference

Public Member Functions

 __construct (private readonly ServerRequestInterface $request, private bool $shouldUseCachedPageData)
 
 getController ()
 
 getRequest ()
 
 shouldUseCachedPageData ()
 
 setShouldUseCachedPageData (bool $shouldUseCachedPageData)
 

Detailed Description

Event to allow listeners to disable the loading of cached page data when a page is requested. Does not have any effect if caching is disabled, or if there is no cached version of a page.

Definition at line 27 of file ShouldUseCachedPageDataIfAvailableEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Event\ShouldUseCachedPageDataIfAvailableEvent::__construct ( private readonly ServerRequestInterface  $request,
private bool  $shouldUseCachedPageData 
)

Definition at line 29 of file ShouldUseCachedPageDataIfAvailableEvent.php.

Member Function Documentation

◆ getController()

TYPO3\CMS\Frontend\Event\ShouldUseCachedPageDataIfAvailableEvent::getController ( )
Todo:
‪: deprecate

Definition at line 37 of file ShouldUseCachedPageDataIfAvailableEvent.php.

◆ getRequest()

TYPO3\CMS\Frontend\Event\ShouldUseCachedPageDataIfAvailableEvent::getRequest ( )

Definition at line 42 of file ShouldUseCachedPageDataIfAvailableEvent.php.

◆ setShouldUseCachedPageData()

TYPO3\CMS\Frontend\Event\ShouldUseCachedPageDataIfAvailableEvent::setShouldUseCachedPageData ( bool  $shouldUseCachedPageData)

◆ shouldUseCachedPageData()

TYPO3\CMS\Frontend\Event\ShouldUseCachedPageDataIfAvailableEvent::shouldUseCachedPageData ( )