PHP Class BcCacheDispatcher

Inheritance: extends DispatcherFilter
Mostra file Open project: baserproject/basercms

Public Properties

Property Type Description
$priority integer Default priority for all methods in this filter This filter should run before the request gets parsed by router

Public Methods

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

Method Details

beforeDispatch() public method

Checks whether the response was cached and set the body accordingly.
public beforeDispatch ( CakeEvent $event ) : CakeResponse
$event CakeEvent containing the request and response object
return 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
return integer