Cache rebuilder for phrase imports.
Note that this does not recompile the phrase cache or templates.
| package | XenForo_CacheRebuild |
|---|
__construct(\string$keyName $keyName)
| inherited_from | \XenForo_CacheRebuilder_Abstract::__construct() |
|---|
\string$keyName
getCacheRebuilder(string $keyName) : \XenForo_CacheRebuilder_Abstract
| inherited_from | \XenForo_CacheRebuilder_Abstract::getCacheRebuilder() |
|---|
string
getKeyName() : string
| inherited_from | \XenForo_CacheRebuilder_Abstract::getKeyName() |
|---|
stringgetRebuilderResponse(\XenForo_ControllerAdmin_Abstract $controller, array $caches, string | null $redirect) : \XenForo_ControllerResponse_Reroute
Admin CP only.
| inherited_from | \XenForo_CacheRebuilder_Abstract::getRebuilderResponse() |
|---|
\XenForo_ControllerAdmin_Abstract
arrayList of caches to build. Either array of strings, or array of pairs: [cache name, options]
stringnullURL to redirect to; null to use referrer
rebuild(integer $position, array $options, string $detailedMessage) : integer | true
If there is a large amount of data, it should only be partially rebuilt in each invocation.
If true is returned, then the rebuild is done. Otherwise, an integer should be returned. This will be passed to the next call as the position.
| see | \XenForo_CacheRebuilder_Abstract::rebuild() |
|---|
integerPosition to start building from.
arrayList of options. Can be modified and updated value will be passed to next call.
stringA detailed message about the progress to return.
integertrue
showExitLink() : boolean
Only show this if the rebuild can be interrupted without doing bad things.
| inherited_from | \XenForo_CacheRebuilder_Abstract::showExitLink() |
|---|
boolean$builders : array
| inherited_from | \XenForo_CacheRebuilder_Abstract::$$builders |
|---|
$_keyName : string
| inherited_from | \XenForo_CacheRebuilder_Abstract::$$_keyName |
|---|