_bufferedContent .= $instructions; return $this; } /** * Get current stream content * * @return string */ public function getInstructions() { $this->flush(); return $this->_resource->value; } /** * Clear stream content. * * @return Zend_Pdf_Resource_ContentStream */ public function clear() { $this->_resource->value = ''; $this->_bufferedContent = ''; return $this; } /** * Flush buffered content */ public function flush() { $this->_resource->value .= $this->_bufferedContent; $this->_bufferedContent = ''; return $this; } }