PHP Class N98\Magento\Command\Cache\AbstractCacheCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Datei anzeigen Open project: netz98/n98-magerun

Public Methods

Method Description
isEnabled ( ) : boolean

Protected Methods

Method Description
_canUseBanCacheFunction ( ) : boolean
_getCacheModel ( ) : Mage_Core_Model_Cach\Mage_Core_Model_Cache
banUseCache ( ) Ban cache usage before cleanup to get the latest values.
reinitCache ( )
saveCacheStatus ( array $codeArgument, boolean $status ) : boolean | null
validateCacheCodes ( array $codes )

Method Details

_canUseBanCacheFunction() protected method

protected _canUseBanCacheFunction ( ) : boolean
return boolean

_getCacheModel() protected method

protected _getCacheModel ( ) : Mage_Core_Model_Cach\Mage_Core_Model_Cache
return Mage_Core_Model_Cach\Mage_Core_Model_Cache

banUseCache() protected method

Ban cache usage before cleanup to get the latest values.
See also: https://github.com/netz98/n98-magerun/issues/483
protected banUseCache ( )

isEnabled() public method

public isEnabled ( ) : boolean
return boolean

reinitCache() protected method

protected reinitCache ( )

saveCacheStatus() protected method

protected saveCacheStatus ( array $codeArgument, boolean $status ) : boolean | null
$codeArgument array
$status boolean
return boolean | null

validateCacheCodes() protected method

protected validateCacheCodes ( array $codes )
$codes array