Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Pdf_Resource_ContentStream Class Reference

Public Member Functions

 __construct ($contentStreamObject= '')
 Object constructor.
 
 addInstructions ($instructions)
 Appends instructions to the end of the content stream.
 
 getInstructions ()
 Get current stream content.
 
 clear ()
 Clear stream content.
 
 flush ()
 Flush buffered content.
 
- Public Member Functions inherited from Zend_Pdf_Resource
 __construct ($resource)
 Object constructor.
 
 __clone ()
 Clone page, extract it and dependent objects from the current document, so it can be used within other docs.
 
 cloneResource ($factory, &$processed)
 Clone resource, extract it and dependent objects from the current document, so it can be used within other docs.
 
 getResource ()
 Get resource.
 
 getFactory ()
 Get factory.
 

Protected Attributes

 $_bufferedContent = ''
 
- Protected Attributes inherited from Zend_Pdf_Resource
 $_objectFactory
 
 $_resource
 

Constructor & Destructor Documentation

__construct (   $contentStreamObject = '')

Object constructor.

Parameters
Zend_Pdf_Element_Object_Stream | string$contentStreamObject
Exceptions
Zend_Pdf_Exception

Member Function Documentation

addInstructions (   $instructions)

Appends instructions to the end of the content stream.

Parameters
string$instructions
Returns
Zend_Pdf_Resource_ContentStream
clear ( )

Clear stream content.

Returns
Zend_Pdf_Resource_ContentStream
flush ( )

Flush buffered content.

getInstructions ( )

Get current stream content.

Returns
string

Member Data Documentation

$_bufferedContent = ''
protected