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.
Inheritance: extends CacheHelper
Afficher le fichier Open project: baserproject/basercms

Méthodes protégées

Méthode Description
_writeFile ( string $content, string $timestamp, boolean $useCallbacks = false ) : boolean Write a cached version of the file

Method Details

_writeFile() protected méthode

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.
Résultat boolean success of caching view.