public static function keepRedirectUrls(PHPCrawlerDocumentInfo $DocumentInfo)
  {
    $cnt = count($DocumentInfo->links_found_url_descriptors);
    for ($x=0; $x<$cnt; $x++)
    {
      if ($DocumentInfo->links_found_url_descriptors[$x]->is_redirect_url == false)
      {
        $DocumentInfo->links_found_url_descriptors[$x] = null;
      }
    }
  }
public static function keepRedirectUrls(PHPCrawlerDocumentInfo $DocumentInfo)
  {
    $cnt = count($DocumentInfo->links_found_url_descriptors);
    for ($x=0; $x<$cnt; $x++)
    {
      if ($DocumentInfo->links_found_url_descriptors[$x]->is_redirect_url == false)
      {
        $DocumentInfo->links_found_url_descriptors[$x] = null;
      }
    }
  }
public static function keepRedirectUrls ( PHPCrawlerDocumentInfo $ DocumentInfo ) { $ cnt = count ( $ DocumentInfo -> links_found_url_descriptors ) ; for ( $ x = 0 ; $ x < $ cnt ; $ x ++ ) { if ( $ DocumentInfo -> links_found_url_descriptors [ $ x ] -> is_redirect_url == false ) { $ DocumentInfo -> links_found_url_descriptors [ $ x ] = null ; } } }
Filters out all non-redirect-URLs from the URLs given in the PHPCrawlerDocumentInfo-object

@param PHPCrawlerDocumentInfo $DocumentInfo PHPCrawlerDocumentInfo-object containing all found links of the current document.
Filters out all non - redirect - URLs from the URLs given in the PHPCrawlerDocumentInfo - object