PHP Class Pimcore\Controller\Plugin\Cache

Inheritance: extends Zend_Controller_Plugin_Abstract
Show file Open project: pimcore/pimcore

Protected Properties

Property Type Description
$addExpireHeader boolean
$defaultCacheKey string
$disableReason string | null
$enabled boolean
$lifetime null | integer

Public Methods

Method Description
disable ( $reason = null ) : boolean
disableExpireHeader ( )
dispatchLoopShutdown ( )
enable ( ) : boolean
enableExpireHeader ( )
getLifetime ( ) : integer | null
isEnabled ( ) : boolean
routeStartup ( Zend_Controller_Request_Abstract $request ) : boolean | void
setLifetime ( $lifetime )

Method Details

disable() public method

public disable ( $reason = null ) : boolean
return boolean

disableExpireHeader() public method

public disableExpireHeader ( )

dispatchLoopShutdown() public method

enable() public method

public enable ( ) : boolean
return boolean

enableExpireHeader() public method

public enableExpireHeader ( )

getLifetime() public method

public getLifetime ( ) : integer | null
return integer | null

isEnabled() public method

public isEnabled ( ) : boolean
return boolean

routeStartup() public method

public routeStartup ( Zend_Controller_Request_Abstract $request ) : boolean | void
$request Zend_Controller_Request_Abstract
return boolean | void

setLifetime() public method

public setLifetime ( $lifetime )
$lifetime

Property Details

$addExpireHeader protected property

protected bool $addExpireHeader
return boolean

$defaultCacheKey protected property

protected string $defaultCacheKey
return string

$disableReason protected property

protected string|null $disableReason
return string | null

$enabled protected property

protected bool $enabled
return boolean

$lifetime protected property

protected null|int $lifetime
return null | integer