PHP Class BcCacheHelper
When using CacheHelper you don't call any of its methods, they are all automatically
called by View, and use the $cacheAction settings set in the controller.
Exibir arquivo
Open project: baserproject/basercms
Protected Methods
Method Details
_writeFile()
protected method
Write a cached version of the file
protected _writeFile ( string $content, string $timestamp, boolean $useCallbacks = false ) : boolean |
$content |
string |
view content to write to a cache file. |
$timestamp |
string |
Duration to set for cache file. |
$useCallbacks |
boolean |
Whether to include statements in cached file which
run callbacks. |
return |
boolean |
success of caching view. |