[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

/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.3 2005/12/04 16:03:55 fab Exp $
Poids: 92 lignes (3 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Cache/Lite.php

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 : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7