function saveMemoryCachingState($id, $group = 'default')
    {
        if ($this->_caching) {
            $array = array(
                'counter' => $this->_memoryCachingCounter,
                'array' => $this->_memoryCachingArray
            );
            $data = serialize($array);
            $this->save($data, $id, $group);
        }
    }
function saveMemoryCachingState($id, $group = 'default')
    {
        if ($this->_caching) {
            $array = array(
                'counter' => $this->_memoryCachingCounter,
                'array' => $this->_memoryCachingArray
            );
            $data = serialize($array);
            $this->save($data, $id, $group);
        }
    }
function saveMemoryCachingState ( $ id , $ group = 'default' ) { if ( $ this -> _caching ) { $ array = array ( 'counter' => $ this -> _memoryCachingCounter , 'array' => $ this -> _memoryCachingArray ) ; $ data = serialize ( $ array ) ; $ this -> save ( $ data , $ id , $ group ) ; } }
Save the state of the caching memory array into a cache file cache

@param string $id cache id
@param string $group name of the cache group
@access public
Save the state of the caching memory array into a cache file cache