File indexing completed on 2024-05-12 17:26:16

0001 <?php
0002 /*
0003  *   TRT GFX 3.0.1 (beta build) BackToSlash
0004  * 
0005  *   support: happy.snizzo@gmail.com
0006  *   website: http://trt-gfx.googlecode.com
0007  *   credits: Claudio Desideri
0008  *   
0009  *   This software is released under the MIT License.
0010  *   http://opensource.org/licenses/mit-license.php
0011  */ 
0012 
0013 
0014 /*
0015  * This class stores elements of a list in a text file for caching.
0016  * 
0017  * example:
0018  * 
0019  * data1
0020  * data2
0021  * data3
0022  * 
0023  */
0024 /*
0025  * Just see if this can go to ECacheVar
0026  */
0027 class ECacheList {
0028   
0029   private $var;
0030   private $prefix = "ecachelist_";
0031   
0032   public function __construct($file=false){
0033     /*if($this->exists($file)){
0034       $this->var = $file;
0035     }*/
0036   }
0037   
0038   public function exists($key){
0039     //apc_exists($this->prefix.$key);
0040   }
0041   
0042   // get the value of a variable
0043   public function get(){
0044     //apc_fetch($this->prefix.$this->var);
0045   }
0046   
0047   //set the value of a variable
0048   public function set($value){
0049     //apc_store($this->prefix.$this->var,$value);
0050   }
0051   
0052   public function del(){
0053     //apc_delete($this->prefix.$this->var);
0054   }
0055 }
0056 
0057 ?>