Example #1
0
 /**
  * Initializes the Tar and tries to read the first entry from the archive.
  *
  * At initialization it sets the blockFactor to $blockFactor. Each tar archive
  * has always $blockFactor of blocks ( 0, $blockFactor, 2 * $blockFactor, etc ).
  *
  * The Tar archive works with blocks, so therefore the first parameter expects
  * the archive as a blockFile.
  *
  * @param ezcArchiveBlockFile $blockFile
  * @param int $blockFactor
  */
 public function __construct(ezcArchiveBlockFile $blockFile, $blockFactor = 20)
 {
     parent::__construct($blockFile, $blockFactor);
 }