## Zend_Pdf_Element_Dictionary

Description

PDF file 'dictionary' element implementation

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

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

    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 ( $item, string $property)
void __set ( $item, mixed $value, string $property)
Variables
array $_items = array() (line 42)

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

- access: public

Methods
Constructor __construct (line 51)

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

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)

- Zend_Pdf_Element $val:
  - Zend_Pdf_Element object
- Zend_Pdf_Element_Name $name

getKeys (line 88)

Return dictionary keys

- access: public

array getKeys ()
getType (line 128)

Return type of the element.

- access: public

integer getType ()

Redefinition of:

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

toString (line 140)

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

Get handler

- return: | null
- access: public

Zend_Pdf_Element __get ( $item, string $property)

- string $property
- $item

__set (line 114)

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::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 Wed, 21 Feb 2007 11:46:58 -0800 by phpDocumentor 1.3.1