예제 #1
0
 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();
 }
예제 #2
0
파일: iofilter.php 프로젝트: nicolaisi/adei
 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;
     }
 }