API Documentation

Pdf/Resource/ContentStream.php

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Pdf  
version
$Id: Image.php 20096 2010-01-06 02:05:09Z bkarwin $  

\Zend_Pdf_Resource_ContentStream

Content stream (drawing instructions container)

Extends from
\Zend_Pdf_Resource
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Pdf  

Properties

Propertyprotectedstring  $_bufferedContent= ''

Buffered content

Details
Type
string

Methods

methodpublic__clone( ) : void

Clone page, extract it and dependent objects from the current document, so it can be used within other docs.

Inherited from: \Zend_Pdf_Resource::__clone()
methodpublic__construct( \Zend_Pdf_Element_Object_Stream|string $contentStreamObject ) : void

Object constructor.

If resource is not a Zend_Pdf_Element object, then stream object with specified value is generated.

Parameters
Name Type Description
$contentStreamObject \Zend_Pdf_Element_Object_Stream|string
Throws
Exception Description
\Zend_Pdf_Exception
methodpublicaddInstructions( string $instructions ) : \Zend_Pdf_Resource_ContentStream

Appends instructions to the end of the content stream

Parameters
Name Type Description
$instructions string
Returns
Type Description
\Zend_Pdf_Resource_ContentStream
methodpublicclear( ) : \Zend_Pdf_Resource_ContentStream

Clear stream content.

Returns
Type Description
\Zend_Pdf_Resource_ContentStream
methodpublicflush( ) : void

Flush buffered content

methodpublicgetInstructions( ) : string

Get current stream content

Returns
Type Description
string
Documentation was generated by DocBlox 0.13.3.