public function setTrafficLimit($bytes, $complete_requested_files = true)
  {
    if (preg_match("#^[0-9]*$#", $bytes))
    {
      $this->traffic_limit = $bytes;
      return true;
    }
    else return false;
  }
public function setTrafficLimit($bytes, $complete_requested_files = true)
  {
    if (preg_match("#^[0-9]*$#", $bytes))
    {
      $this->traffic_limit = $bytes;
      return true;
    }
    else return false;
  }
public function setTrafficLimit ( $ bytes , $ complete_requested_files = true ) { if ( preg_match ( "#^[0-9]*$#" , $ bytes ) ) { $ this -> traffic_limit = $ bytes ; return true ; } else return false ; }
Sets a limit to the number of bytes the crawler should receive alltogether during crawling-process.

If the limit is reached, the crawler stops the crawling-process.
The default-value is 0 (no limit).

@param int $bytes Maximum number of bytes
@param bool $complete_requested_files This parameter has no function anymore!

@return bool
@section 5 Limit-settings
Sets a limit to the number of bytes the crawler should receive alltogether during crawling - process .