Lines Matching refs:tar
32 $tar = new Tar();
33 $tar->open('myfile.tgz');
34 $toc = $tar->contents();
39 $tar = new Tar();
40 $tar->open('myfile.tgz');
41 $tar->extract('/tmp');
45 $tar = new Tar();
46 $tar->create('myfile.tgz');
47 $tar->addFile(...);
48 $tar->addData(...);
50 $tar->close();
54 $tar = new Tar();
55 $tar->setCompression(9, Archive::COMPRESS_BZIP);
56 $tar->create();
57 $tar->addFile(...);
58 $tar->addData(...);
60 $tar->save('myfile.tbz'); // compresses and saves it
61 echo $tar->getArchive(); // compresses and returns it