PHP 클래스 FOF30\Utils\CacheCleaner

파일 보기 프로젝트 열기: akeeba/fof 1 사용 예제들

공개 메소드들

메소드 설명
clearCacheGroups ( array $clearGroups, array $cacheClients = [0, 1] ) : void Clears the specified cache groups.
clearModulesCache ( ) : void Clears the com_modules cache. You need to call this whenever you alter the publish state or parameters of a module from your code.
clearPluginsAndModulesCache ( ) : void Clears the com_modules and com_plugins cache. You need to call this whenever you alter the publish state or parameters of a module or plugin from your code.
clearPluginsCache ( ) : void Clears the com_plugins cache. You need to call this whenever you alter the publish state or parameters of a plugin from your code.

메소드 상세

clearCacheGroups() 공개 정적인 메소드

Clears the specified cache groups.
public static clearCacheGroups ( array $clearGroups, array $cacheClients = [0, 1] ) : void
$clearGroups array Which cache groups to clear. Usually this is com_yourcomponent to clear your component's cache.
$cacheClients array Which cache clients to clear. 0 is the back-end, 1 is the front-end. If you do not specify anything, both cache clients will be cleared.
리턴 void

clearModulesCache() 공개 정적인 메소드

Clears the com_modules cache. You need to call this whenever you alter the publish state or parameters of a module from your code.
public static clearModulesCache ( ) : void
리턴 void

clearPluginsAndModulesCache() 공개 정적인 메소드

Clears the com_modules and com_plugins cache. You need to call this whenever you alter the publish state or parameters of a module or plugin from your code.
public static clearPluginsAndModulesCache ( ) : void
리턴 void

clearPluginsCache() 공개 정적인 메소드

Clears the com_plugins cache. You need to call this whenever you alter the publish state or parameters of a plugin from your code.
public static clearPluginsCache ( ) : void
리턴 void