Ignore:
Timestamp:
2013/08/26 15:52:37 (11 years ago)
Author:
m_uehara
Message:

#2348 r23116 - r23125 をマージ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_0/data/class/SC_Cache.php

    r22856 r23126  
    2222 */ 
    2323 
    24 require DATA_REALDIR . 'module/Cache/Lite.php'; 
    25  
    2624/** 
    2725 * Cache controll using PEAR::Cache_Lite. 
     
    3331     * @var object 
    3432     */ 
    35     static $_instance = NULL; 
     33    public static $_instance = NULL; 
    3634 
    3735    /** 
     
    7573     * Get data from cache. 
    7674     * 
    77      * @param   string  $id         cache id 
    78      * @param   string  $group      name of the cache group 
    79      * @param   int     $lifeTime  custom lifetime 
    80      * @return  mixed   data of cache (else : false) 
     75     * @param  string $id       cache id 
     76     * @param  string $group    name of the cache group 
     77     * @param  int    $lifeTime custom lifetime 
     78     * @return mixed  data of cache (else : false) 
    8179     */ 
    8280    public static function get($id, $group = 'default', $lifeTime = NULL) 
     
    9896     * Save data into cache. 
    9997     * 
    100      * @param   mixed   $data   data of cache 
    101      * @param   string  $id     cache id 
    102      * @param   string  $group name of the cache group 
    103      * @return  void 
     98     * @param  mixed  $data  data of cache 
     99     * @param  string $id    cache id 
     100     * @param  string $group name of the cache group 
     101     * @return void 
    104102     */ 
    105103    public static function save($data, $id, $group = 'default') 
     
    113111     * Clean cache. 
    114112     * 
    115      * @param string $group name of the cache group 
     113     * @param  string $group name of the cache group 
    116114     * @return void 
    117115     */ 
Note: See TracChangeset for help on using the changeset viewer.