예제 #1
0
 function __construct(&$info = NULL, STREAMWriterInterface $output = NULL)
 {
     $this->filereader = true;
     $this->filewriter = true;
     $this->joiner = true;
     $this->content_type = "application/x-zip-compressed";
     $this->extension = "zip";
     parent::__construct($info, $output);
 }
예제 #2
0
파일: iofilter.php 프로젝트: nicolaisi/adei
 function __construct(&$info = NULL, STREAMWriterInterface $output = NULL, $sink = NULL, $outlet = 0, $flags = 0)
 {
     parent::__construct($info, $output);
     $this->extra_data = false;
     $this->CreateFilter($sink, $outlet);
     if ($flags & STREAM::GIFT) {
         $this->resource_close = true;
     } else {
         $this->resource_close = false;
     }
 }
예제 #3
0
파일: oz.php 프로젝트: pestopancake/oz-php
 public function __construct()
 {
     parent::__construct();
     $this->xml = new DOMDocument();
     foreach (self::$_fractions as $name => $value) {
         $newname = "@(?<=[^\\d]|^)" . $name . "(?=[^\\d]|\$)@";
         $this->fractions[$newname] = $value;
     }
 }