API Documentation

Pdf/Element/Dictionary.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
version
$Id: Dictionary.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_Element_Dictionary

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Pdf_Element_Dictionary

Extends from
Zend_Pdf_Element
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
Properties
$_items
Methods
__construct
add
getKeys
__get
__set
getType
toString
toPhp

Description

PDF file 'dictionary' element implementation

Properties

$_items

array $_items = 'array'

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

Details

$_items
array
visibility
private
default
array
final
false
static
false

Methods

__construct

__construct( array $val = null ) :

Object constructor

Arguments
$val
array
- array of Zend_Pdf_Element objects
Details
visibility
public
final
false
static
false
throws

__get

__get(  $item ) : Zend_Pdf_Element

Get handler

Arguments
$item
Output
Zend_Pdf_Element
| null
Details
visibility
public
final
false
static
false

__set

__set(  $item, mixed $value ) :

Set handler

Arguments
$item
$value
mixed
Details
visibility
public
final
false
static
false

add

add(  $name, Zend_Pdf_Element $val ) :

Add element to an array

Arguments
$name
$val
Zend_Pdf_Element
- Zend_Pdf_Element object
Details
visibility
public
final
false
static
false
name
Zend_Pdf_Element_Name $name
throws

getKeys

getKeys( ) : array

Return dictionary keys

Output
array
Details
visibility
public
final
false
static
false

getType

getType( ) : integer

Return type of the element.

Output
integer
Details
visibility
public
final
false
static
false

toPhp

toPhp( ) : mixed

Convert PDF element to PHP type.

Dictionary is returned as an associative array

Output
mixed
Details
visibility
public
final
false
static
false

toString

toString( Zend_Pdf_Factory $factory = null ) : string

Return object as string

Arguments
$factory
Zend_Pdf_Factory
Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.