PathIndexTable :: purge: Bitrix method

      
<?php 
//  Bitrix\Translate\Index\Internals\PathIndexTable :: purge()
//  /dist/bitrix/modules/translate/lib/index/internals/pathindex.php:208

    
public static function purge(Translate\Filter $filter null$recursively true)
    {
        if ((
$filterOut = static::processFilter($filter)) !== false)
        {
            if (
$recursively)
            {
                if (!isset(
$filter$filter->langId))
                {
                    
Index\Internals\PathTreeTable::purge($filter);
                }
                
Index\Internals\FileIndexTable::purge($filter);
            }

            if (!isset(
$filter$filter->langId))
            {
                static::
bulkDelete($filterOut);
            }
        }
    }