[ Index ]
 

Code source de CakePHP 1.1.13.4450

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/cake/libs/view/helpers/ -> cache.php (sommaire)

Short description for file. Long description for file

Copyright: Copyright 2005-2007, Cake Software Foundation, Inc.
License: http://www.opensource.org/licenses/mit-license.php The MIT License
Version: $Revision: 4409 $
Poids: 262 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

CacheHelper:: (4 méthodes):
  cache()
  __parseFile()
  __parseOutput()
  __writeFile()


Classe: CacheHelper  - X-Ref

Short description for file.

Long description for file

cache($file, $out, $cache = false)   X-Ref
Main method used to cache a view

param: string $file File to cache
param: string $out output to cache
param: boolean $cache
return: view ouput

__parseFile($file, $cache)   X-Ref
Parse file searching for no cache tags

param: string $file
param: boolean $cache

__parseOutput($cache)   X-Ref
Parse the output and replace cache tags

param: sting $cache
return: string with all replacements made to <cake:nocache><cake:nocache>

__writeFile($content, $timestamp)   X-Ref
Write a cached version of the file

param: string $content
param: sting $timestamp
return: cached view



Généré le : Sun Feb 25 19:27:47 2007 par Balluche grâce à PHPXref 0.7