Class Zend_Pdf_Element_Object

Description

PDF file 'indirect object' element implementation

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

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

Zend_Pdf_Element
   |
   --Zend_Pdf_Element_Object
Direct descendents
Class Description
 class Zend_Pdf_Element_Object_Stream PDF file 'stream object' element implementation
Variable Summary
Method Summary
 Zend_Pdf_Element_Object __construct (Zend_Pdf_Element $val, integer $objNum, integer $genNum, Zend_Pdf_ElementFactory $factory)
 string dump (Zend_Pdf_ElementFactory $factory)
 integer getGenNum ()
 integer getObjNum ()
 integer getType ()
 string toString ([Zend_Pdf_Factory $factory = null])
 void touch ()
 mixed __call (string $method, array $args)
 mixed __get (string $property)
 void __set (string $property, mixed $value)
Variables
Zend_Pdf_ElementFactory $_factory (line 62)

Reference to the factory.

  • access: protected
integer $_genNum (line 55)

Generation number

  • access: protected
integer $_objNum (line 48)

Object number within PDF file

  • access: protected
Zend_Pdf_Element $_value (line 41)

Object value

  • access: protected
Methods
Constructor __construct (line 73)

Object constructor

  • access: public
  • throws: Zend_Pdf_Exception
Zend_Pdf_Element_Object __construct (Zend_Pdf_Element $val, integer $objNum, integer $genNum, Zend_Pdf_ElementFactory $factory)

Redefined in descendants as:
dump (line 163)

Dump object to a string to save within PDF file.

$factory parameter defines operation context.

  • access: public
string dump (Zend_Pdf_ElementFactory $factory)

Redefined in descendants as:
getFactory (line 99)

Check, that object is generated by specified factory

  • access: public
Zend_Pdf_ElementFactory getFactory ()
getGenNum (line 131)

Get generation number

  • access: public
integer getGenNum ()
getObjNum (line 120)

Get object number

  • access: public
integer getObjNum ()
getType (line 109)

Return type of the element.

  • access: public
integer getType ()

Redefinition of:
Zend_Pdf_Element::getType()
Return type of the element.
toString (line 143)

Return reference to the object

  • 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.
touch (line 224)

Mark object as modified, to include it into new PDF file segment

  • access: public
void touch ()

Redefinition of:
Zend_Pdf_Element::touch()
Mark object as modified, to include it into new PDF file segment.
__call (line 202)

Call handler

  • access: public
mixed __call (string $method, array $args)
  • string $method
  • array $args

Redefined in descendants as:
__get (line 178)

Get handler

  • access: public
mixed __get (string $property)
  • string $property

Redefined in descendants as:
__set (line 190)

Set handler

  • access: public
void __set (string $property, mixed $value)
  • string $property
  • mixed $value

Redefined in descendants as:

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

Documentation generated on Wed, 21 Feb 2007 11:55:30 -0800 by phpDocumentor 1.3.1