src/SearchBundle/objects/db/TShopSearchCache.class.php
public function ClearCache()
    {
        $query = "DELETE FROM `shop_search_cache_item` WHERE `shop_search_cache_id` = '".MySqlLegacySupport::getInstance()->real_escape_string($this->id)."' ";
        MySqlLegacySupport::getInstance()->query($query);
        $query = "DELETE FROM `shop_search_cache` WHERE `id` = '".MySqlLegacySupport::getInstance()->real_escape_string($this->id)."'";
        MySqlLegacySupport::getInstance()->query($query);
        $this->id = null;
        $this->sqlData['id'] = null;
    }
public function ClearCache()
    {
        $query = "DELETE FROM `shop_search_cache_item` WHERE `shop_search_cache_id` = '".MySqlLegacySupport::getInstance()->real_escape_string($this->id)."' ";
        MySqlLegacySupport::getInstance()->query($query);
        $query = "DELETE FROM `shop_search_cache` WHERE `id` = '".MySqlLegacySupport::getInstance()->real_escape_string($this->id)."'";
        MySqlLegacySupport::getInstance()->query($query);
        $this->id = null;
        $this->sqlData['id'] = null;
    }
public function ClearCache ( ) { $ query = "DELETE FROM `shop_search_cache_item` WHERE `shop_search_cache_id` = '" . MySqlLegacySupport :: getInstance ( ) -> real_escape_string ( $ this -> id ) . "' " ; MySqlLegacySupport :: getInstance ( ) -> query ( $ query ) ; $ query = "DELETE FROM `shop_search_cache` WHERE `id` = '" . MySqlLegacySupport :: getInstance ( ) -> real_escape_string ( $ this -> id ) . "'" ; MySqlLegacySupport :: getInstance ( ) -> query ( $ query ) ; $ this -> id = null ; $ this -> sqlData [ 'id' ] = null ; }
clear cache item.
clear cache item .