lib/bagit_fetch.php
public function add($url, $filename)
    {
        array_push(
            $this->data,
            array('url' => $url, 'length' => '-', 'filename' => $filename)
        );
        $this->write();
    }
public function add($url, $filename)
    {
        array_push(
            $this->data,
            array('url' => $url, 'length' => '-', 'filename' => $filename)
        );
        $this->write();
    }
public function add ( $ url , $ filename ) { array_push ( $ this -> data , array ( 'url' => $ url , 'length' => '-' , 'filename' => $ filename ) ) ; $ this -> write ( ) ; }
This adds an entry to the fetch data.

@param string $url      This is the URL to load the file from.
@param string $filename This is the file name, relative to the fetch
file's directory, to save the data to.

@return void
This adds an entry to the fetch data .