/**
  * Object constructor
  *
  * @param integer $objCount
  */
 public function __construct($objNum, $genNum, $isFree, $dump = null)
 {
     $this->_objNum = $objNum;
     $this->_genNum = $genNum;
     $this->_isFree = $isFree;
     if ($dump !== null) {
         if (strlen($dump) > 1024) {
             $this->_dump = Pdf\PdfDocument::getMemoryManager()->create($dump);
         } else {
             $this->_dump = $dump;
         }
     }
 }
Beispiel #2
0
 /**
  * Object constructor
  *
  * @param string $val
  */
 public function __construct($val)
 {
     $this->value = Pdf\PdfDocument::getMemoryManager()->create($val);
 }