API Documentation

Zend/Pdf/Element/Array.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Pdf  
Version
$Id: Array.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Pdf_Element_Array

Package: Zend\Pdf

PDF file 'array' element implementation

Parent(s)
\Zend_Pdf_Element
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertypublicarray  $items= ''

Array element items

Array of Zend_Pdf_Element objects

Details
Type
array

Methods

methodpublic__construct( array $val = null ) : void

Object constructor

Parameters
Name Type Description
$val array
  • array of Zend_Pdf_Element objects
Throws
Exception Description
\Zend_Pdf_Exception
methodpublic__get( string $property ) : void

Getter

Parameters
Name Type Description
$property string
Throws
Exception Description
\Zend_Pdf_Exception
methodpublic__set(  $property, mixed $value ) : void

Setter

Parameters
Name Type Description
$property
$value mixed
Throws
Exception Description
\Zend_Pdf_Exception
methodpublicgetType( ) : integer

Return type of the element.

Returns
Type Description
integer
methodpublicmakeClone( \Zend_Pdf_ElementFactory $factory, array $processed, integer $mode ) : void

Detach PDF object from the factory (if applicable), clone it and attach to new factory.

Parameters
Name Type Description
$factory \Zend_Pdf_ElementFactory

The factory to attach

$processed array

&$processed List of already processed indirect objects, used to avoid objects duplication

$mode integer

Cloning mode (defines filter for objects cloning)

Details
Returns
Zend_Pdf_Element  
methodpublicsetParentObject( \Zend_Pdf_Element_Object $parent ) : void

Set top level parent indirect object.

Parameters
Name Type Description
$parent \Zend_Pdf_Element_Object
methodpublictoPhp( ) : mixed

Convert PDF element to PHP type.

Dictionary is returned as an associative array

Returns
Type Description
mixed
methodpublictoString( \Zend_Pdf_Factory $factory = null ) : string

Return object as string

Parameters
Name Type Description
$factory \Zend_Pdf_Factory
Returns
Type Description
string
Documentation was generated by DocBlox 0.15.1.