PHP Class BcCacheDispatcher

Inheritance: extends DispatcherFilter
Afficher le fichier Open project: baserproject/basercms

Méthodes publiques

Свойство Type Description
$priority integer Default priority for all methods in this filter This filter should run before the request gets parsed by router

Méthodes publiques

Méthode Description
beforeDispatch ( CakeEvent $event ) : CakeResponse Checks whether the response was cached and set the body accordingly.

Method Details

beforeDispatch() public méthode

Checks whether the response was cached and set the body accordingly.
public beforeDispatch ( CakeEvent $event ) : CakeResponse
$event CakeEvent containing the request and response object
Résultat CakeResponse with cached content if found, null otherwise

Property Details

$priority public_oe property

Default priority for all methods in this filter This filter should run before the request gets parsed by router
public int $priority
Résultat integer