original_string: protected function _setSearchCache($data, $sdata)
      {
          $sdata['metadata'][self::CACHE_SEARCH][$sdata['id']] = $data;
  
          $this->_cache->setMetaData($this->_selected, null, $sdata['metadata']);
  
          if ($this->_debug->debug) {
              $this->_debug->info(sprintf(
                  'SEARCH: Saved %s to cache (%s [%s])',
                  $sdata['type'],
                  $sdata['id'],
                  $this->_selected
              ));
              unset($this->_temp['searchcacheexpire'][strval($this->_selected)]);
          }
      }
code: protected function _setSearchCache($data, $sdata)
      {
          $sdata['metadata'][self::CACHE_SEARCH][$sdata['id']] = $data;
  
          $this->_cache->setMetaData($this->_selected, null, $sdata['metadata']);
  
          if ($this->_debug->debug) {
              $this->_debug->info(sprintf(
                  'SEARCH: Saved %s to cache (%s [%s])',
                  $sdata['type'],
                  $sdata['id'],
                  $this->_selected
              ));
              unset($this->_temp['searchcacheexpire'][strval($this->_selected)]);
          }
      }
code_tokens: protected function _setSearchCache ( $ data , $ sdata ) { $ sdata [ 'metadata' ] [ self :: CACHE_SEARCH ] [ $ sdata [ 'id' ] ] = $ data ; $ this -> _cache -> setMetaData ( $ this -> _selected , null , $ sdata [ 'metadata' ] ) ; if ( $ this -> _debug -> debug ) { $ this -> _debug -> info ( sprintf ( 'SEARCH: Saved %s to cache (%s [%s])' , $ sdata [ 'type' ] , $ sdata [ 'id' ] , $ this -> _selected ) ) ; unset ( $ this -> _temp [ 'searchcacheexpire' ] [ strval ( $ this -> _selected ) ] ) ; } }
docstring: Set data in the search cache.
  
  @param mixed $data    The cache data to store.
  @param string $sdata  The search data returned from _getSearchCache().
docstring_tokens: Set data in the search cache .