[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/template/ -> cachecontrol.class.php (sommaire)

(pas de description)

Poids: 109 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

CacheControl:: (4 méthodes):
  resetAllCaches()
  clearSummaryCache()
  resetSummaryCache()
  resetBlogCache()


Classe: CacheControl  - X-Ref

\ingroup Template

Allows to control Smarty's caches in an easier way. You can call any of these methods
whenever you need to clear the contents of the whole site, the summary or just a single
blog.
resetAllCaches()   X-Ref
resets all the caches in the site

return: Always true

clearSummaryCache()   X-Ref
clears the cache of the summary, since it is also allowed to use it :)
This method is also used when using CacheControl::resetAllCaches()


resetSummaryCache()   X-Ref
alias for clearSummaryCache


resetBlogCache( $blogId, $resetSummary = true )   X-Ref
resets the cache of a blog

param: blogId The id of the blog whose cache we'd like to reset
param: resetSummary whether the summary cache should also be cleaned up,



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics