| [ Index ] |
|
Code source de Plume CMS 1.2.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 270 lignes (8 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Cache:: (10 méthodes):
Cache()
setCacheDirectory()
setTimeout()
setHeader()
sendHeaders()
processPage()
processSegment()
endCache()
write()
read()
| Cache($fname, $timeout=180) X-Ref |
| Init the cache param: string Cache file name param: int Timeout in minutes (180) |
| setCacheDirectory($dir) X-Ref |
| Set the cache directory. param: string Full path to cache directory with trailing slash |
| setTimeout($timeout=180) X-Ref |
| Set the timeout. param: int Timeout in minutes (180) |
| setHeader($header) X-Ref |
| Set extra header to send. param: string Extra header. |
| sendHeaders() X-Ref |
| Send the extra headers. |
| processPage($timeout=false) X-Ref |
| Process the cache param: int Timeout in minutes (false) if false use the one at construct return: boolean false if cache content is valid |
| processSegment($timeout=180) X-Ref |
| Réalise le cache pour un segment donné return: boolean false si le contenu du cache est valide |
| endCache() X-Ref |
| End of cache block. |
| write() X-Ref |
| Ecrit les données dans le fichier de cache return: true si l'on a pu ecrire dans le fichier, false sinon |
| read() X-Ref |
| Lit les données dans le cache return: boolean - true si l'on a pu lire le cache, false sinon |
| Généré le : Mon Nov 26 11:57:01 2007 | par Balluche grâce à PHPXref 0.7 |
|