芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/mpdf/mpdf/src/Writer/ObjectWriter.php
mpdf = $mpdf; $this->writer = $writer; } public function writeImportedObjects() { if (is_array($this->mpdf->parsers) && count($this->mpdf->parsers) > 0) { foreach ($this->mpdf->parsers as $filename => $p) { $this->mpdf->current_parser = $this->mpdf->parsers[$filename]; if (is_array($this->mpdf->_obj_stack[$filename])) { while ($n = key($this->mpdf->_obj_stack[$filename])) { $nObj = $this->mpdf->current_parser->resolveObject($this->mpdf->_obj_stack[$filename][$n][1]); $this->writer->object($this->mpdf->_obj_stack[$filename][$n][0]); if ($nObj[0] == pdf_parser::TYPE_STREAM) { $this->mpdf->pdf_write_value($nObj); } else { $this->mpdf->pdf_write_value($nObj[1]); } $this->writer->write('endobj'); $this->mpdf->_obj_stack[$filename][$n] = null; // free memory unset($this->mpdf->_obj_stack[$filename][$n]); reset($this->mpdf->_obj_stack[$filename]); } } } } } }