Beispiel #1
0
 /**
  * Get string representation of the object
  *
  * @return string
  */
 public function getObjectDump()
 {
     if ($this->_dump === null) {
         return '';
     }
     if (is_string($this->_dump)) {
         return $this->_dump;
     }
     return $this->_dump->getRef();
 }
Beispiel #2
0
 /**
  * Return object as string
  *
  * @param \Zend\Pdf\ObjectFactory $factory
  * @return string
  */
 public function toString(Pdf\ObjectFactory $factory = null)
 {
     return "stream\n" . $this->value->getRef() . "\nendstream";
 }
Beispiel #3
0
 /**
  * Get string value reference
  *
  * _Must_ be used for value access before PHP v 5.2
  * or _may_ be used for performance considerations
  *
  * @return &string
  */
 public function &getRef()
 {
     return $this->_memContainer->getRef();
 }