Class Zend_Pdf_Element_Dictionary

Description

PDF file 'dictionary' element implementation

Located in /Zend/Pdf/Element/Dictionary.php (line 32)

Zend_Pdf_Element
   |
   --Zend_Pdf_Element_Dictionary
Variable Summary
 array $_items
Method Summary
 Zend_Pdf_Element_Dictionary __construct ([array $val = null])
 void add (Zend_Pdf_Element_Name $name, Zend_Pdf_Element $val)
 array getKeys ()
 integer getType ()
 string toString ([Zend_Pdf_Factory $factory = null])
 Zend_Pdf_Element __get (mixed $item, string $property)
 void __set (mixed $item, mixed $value, string $property)
Variables
array $_items = array() (line 40)

Dictionary elements Array of Zend_Pdf_Element objects ('name' => Zend_Pdf_Element)

  • access: public

Inherited Variables

Inherited from Zend_Pdf_Element

Zend_Pdf_Element::$_parentObject
Methods
Constructor __construct (line 49)

Object constructor

  • access: public
  • throws: Zend_Pdf_Exception
Zend_Pdf_Element_Dictionary __construct ([array $val = null])
  • array $val:
    • array of Zend_Pdf_Element objects
add (line 76)

Add element to an array

  • access: public
  • throws: Zend_Pdf_Exception
  • name: Zend_Pdf_Element_Name $name
void add (Zend_Pdf_Element_Name $name, Zend_Pdf_Element $val)
getKeys (line 86)

Return dictionary keys

  • access: public
array getKeys ()
getType (line 127)

Return type of the element.

  • access: public
integer getType ()

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

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.
__get (line 98)

Get handler

  • return: | null
  • access: public
Zend_Pdf_Element __get (mixed $item, string $property)
  • string $property
__set (line 113)

Set handler

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

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

Documentation generated on Tue, 18 Apr 2006 11:54:45 -0700 by phpDocumentor 1.3.0RC3