function Open(&$args = NULL) { parent::Open($args); $this->zip = new ZipArchive(); /* Unfortunately, to avoid problems it is neccessary to open and close ZIP archive on each operation. if ($this->zip->open($this->tmpfile, ZIPARCHIVE::CREATE) !== true) throw new ADEIException(translate("Can't create ZIP archive")); */ $this->list = array(); }
function Open(&$args = NULL, &$pipes = NULL, $flags = 0) { parent::Open($args); if ($pipes) { $this->OpenPipes($pipes, $flags); $this->block_mode = false; } else { $this->block_mode = true; } }