## Zend_Pdf_Element_Stream

Description

PDF file 'stream' element implementation

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Pdf/Element/Stream.php (line 34)

    Zend_Pdf_Element
       |
       --Zend_Pdf_Element_Stream

Variable Summary
string $value
Method Summary
Zend_Pdf_Element_Stream __construct (string $val)
void append (mixed $val)
void clear ()
integer getType ()
integer length ()
string toString ([Zend_Pdf_Factory $factory = null])
Variables
string $value (line 41)

Object value

- access: public

Methods
Constructor __construct (line 49)

Object constructor

- access: public

Zend_Pdf_Element_Stream __construct (string $val)

- string $val

append (line 93)

Append value to a stream

- access: public

void append (mixed $val)

- mixed $val

clear (line 82)

Clear stream

- access: public

void clear ()
getType (line 60)

Return type of the element.

- access: public

integer getType ()

Redefinition of:

Zend_Pdf_Element::getType()
  Return type of the element.

length (line 72)

Stream length.

(Method is used to avoid string copying, which may occurs in some cases)

- access: public

integer length ()
toString (line 105)

Return object as string

- access: public

string toString ([Zend_Pdf_Factory $factory = null])

- Zend_Pdf_Factory $factory

Redefinition of:

Zend_Pdf_Element::toString()
  Convert element to a string, which can be directly written to a PDF file.

#### Inherited Methods

Inherited From Zend_Pdf_Element

> Zend_Pdf_Element::getParentObject()
> Zend_Pdf_Element::getType()
> Zend_Pdf_Element::setParentObject()
> Zend_Pdf_Element::toString()
> Zend_Pdf_Element::touch()

Class Constants

#### Inherited Constants

Inherited from Zend_Pdf_Element

> Zend_Pdf_Element::TYPE_ARRAY
> Zend_Pdf_Element::TYPE_BOOL
> Zend_Pdf_Element::TYPE_DICTIONARY
> Zend_Pdf_Element::TYPE_NAME
> Zend_Pdf_Element::TYPE_NULL
> Zend_Pdf_Element::TYPE_NUMERIC
> Zend_Pdf_Element::TYPE_STREAM
> Zend_Pdf_Element::TYPE_STRING

Documentation generated on Tue, 11 Jul 2006 12:18:09 -0500 by phpDocumentor 1.3.0RC6