[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

/Cache/ -> Application.php (sommaire)

(pas de description)

Poids: 178 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 1 fichier
 Cache.php

Définit 1 class

Cache_Application:: (6 méthodes):
  Cache_Application()
  _Cache_Application()
  register()
  unregister()
  clear()
  getData()


Classe: Cache_Application  - X-Ref

Cache_Application($container = 'file', $container_options = array('cache_dir' => '/tmp/', 'filename_prefix' => 'cache_')   X-Ref
Constructor

param: string  Name of container class
param: array   Array with container class options

_Cache_Application()   X-Ref
Destructor

Gets values of all registered variables and stores them. Then calls save() to
write data away.

register($varname, $data = null)   X-Ref
register()

Registers a variable to be stored.

param: string  Name of variable to register
param: mixed   Optional data to store

unregister($varname)   X-Ref
unregister()

Unregisters a variable from being stored.

param: string  Name of variable to unregister

clear()   X-Ref
clear()

Removes all stored data

getData()   X-Ref
getData()

Use this to get a reference to the data to manipulate
in calling script. Eg. $_APP =& $obj->getData();

return: mixed   A reference to the data



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7