Class Zend_Pdf_Element_Dictionary

Description

PDF file 'dictionary' element implementation

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

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

Zend_Pdf_Element
   |
   --Zend_Pdf_Element_Dictionary
Method Summary
 Zend_Pdf_Element_Dictionary __construct ([array $val = null])
 array getKeys ()
 integer getType ()
 mixed toPhp ()
 string toString ([Zend_Pdf_Factory $factory = null])
 Zend_Pdf_Element __get ( $item, string $property)
 void __set ( $item, mixed $value, string $property)
Methods
Constructor __construct (line 55)

Object constructor

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

Add element to an array

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

Return dictionary keys

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

Return type of the element.

  • access: public
integer getType ()

Redefinition of:
Zend_Pdf_Element::getType()
Return type of the element.
toPhp (line 179)

Convert PDF element to PHP type.

Dictionary is returned as an associative array

  • access: public
mixed toPhp ()

Redefinition of:
Zend_Pdf_Element::toPhp()
Convert PDF element to PHP type.
toString (line 147)

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 107)

Get handler

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

Set handler

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

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:16:49 -0400 by phpDocumentor 1.4.3