[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libs/Cache/Lite/ -> File.php (sommaire)

This class extends Cache_Lite and offers a cache system driven by a master file

Author: Fabien MARTY <fab@php.net>
Version: $Id: File.php,v 1.1 2005/08/29 21:05:14 matthieu_ Exp $
Poids: 91 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Cache_Lite_File:: (2 méthodes):
  Cache_Lite_File()
  get()


Classe: Cache_Lite_File  - X-Ref

Cache_Lite_File($options = array(NULL)   X-Ref
Constructor

$options is an assoc. To have a look at availables options,
see the constructor of the Cache_Lite class in 'Cache_Lite.php'

Comparing to Cache_Lite constructor, there is another option :
$options = array(
(...) see Cache_Lite constructor
'masterFile' => complete path of the file used for controlling the cache lifetime(string)
);

param: array $options options

get($id, $group = 'default')   X-Ref
Test if a cache is available and (if yes) return it

param: string $id cache id
param: string $group name of the cache group
return: string data of the cache (or false if no cache available)



Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics