__construct()
getCacheRebuilder()
getKeyName()
getRebuildMessage()
getRebuilderResponse()
rebuild()
showExitLink()
$builders
$_keyName
Cache rebuilder for admin template imports.
Note that this does not fully compile the templates.
package | XenForo_CacheRebuild |
---|
__construct($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() |
---|
string
getRebuilderResponse(\XenForo_ControllerAdmin_Abstract $controller, array $caches, string | null $redirect) : \XenForo_ControllerResponse_Reroute
Admin CP only.
inherited_from | \XenForo_CacheRebuilder_Abstract::getRebuilderResponse() |
---|
\XenForo_ControllerAdmin_Abstract
array
List of caches to build. Either array of strings, or array of pairs: [cache name, options]
string
null
URL 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 | \global\XenForo_CacheRebuilder_Abstract::rebuild() |
---|
integer
Position to start building from.
array
List of options. Can be modified and updated value will be passed to next call.
string
A detailed message about the progress to return.
integer
true
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 |
---|