Class Zend_Pdf_Element_Stream

Description

PDF file 'stream' element implementation

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

Located in /Pdf/Element/Stream.php (line 38)

Zend_Pdf_Element
   |
   --Zend_Pdf_Element_Stream
Variable Summary
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
Zend_Memory_Container $value (line 45)

Object value

  • access: public
Methods
Constructor __construct (line 53)

Object constructor

  • access: public
Zend_Pdf_Element_Stream __construct (string $val)
  • string $val
append (line 99)

Append value to a stream

  • access: public
void append (mixed $val)
  • mixed $val
clear (line 86)

Clear stream

  • access: public
void clear ()
getType (line 64)

Return type of the element.

  • access: public
integer getType ()

Redefinition of:
Zend_Pdf_Element::getType()
Return type of the element.
length (line 76)

Stream length.

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

  • access: public
integer length ()
toString (line 113)

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::cleanUp()
 Zend_Pdf_Element::getParentObject()
 Zend_Pdf_Element::getType()
 Zend_Pdf_Element::phpToPdf()
 Zend_Pdf_Element::setParentObject()
 Zend_Pdf_Element::toPhp()
 Zend_Pdf_Element::toString()
 Zend_Pdf_Element::touch()
Class Constants

Documentation generated on Mon, 21 Jun 2010 15:46:54 -0400 by phpDocumentor 1.4.3