예제 #1
0
 /**
  * Generate new Zend_Pdf_Element_Object
  *
  * @todo Reusage of the freed object. It's not a support of new feature, but only improvement.
  *
  * @param Zend_Pdf_Element $objectValue
  * @return Zend_Pdf_Element_Object
  */
 public function newObject(Zend_Pdf_Element $objectValue)
 {
     $obj = new Zend_Pdf_Element_Object($objectValue, $this->_objectCount++, 0, $this);
     $this->_modifiedObjects[$obj->getObjNum()] = $obj;
     return $obj;
 }
예제 #2
0
 /**
  * Generate new Zend_Pdf_Element_Object
  *
  * @todo Reusage of the freed object. It's not a support of new feature, but only improvement.
  *
  * @param Zend_Pdf_Element $objectValue
  * @return Zend_Pdf_Element_Object
  */
 public function newObject(Zend_Pdf_Element $objectValue)
 {
     #require_once 'Zend/Pdf/Element/Object.php';
     $obj = new Zend_Pdf_Element_Object($objectValue, $this->_objectCount++, 0, $this);
     $this->_modifiedObjects[$obj->getObjNum()] = $obj;
     return $obj;
 }