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); }
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; } }
public function __construct() { parent::__construct(); $this->xml = new DOMDocument(); foreach (self::$_fractions as $name => $value) { $newname = "@(?<=[^\\d]|^)" . $name . "(?=[^\\d]|\$)@"; $this->fractions[$newname] = $value; } }