Pdf/Element/Reference/Table.php

Show: PublicProtectedPrivateinherited
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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Pdf  
Version
$Id$  

\Zend_Pdf_Element_Reference_Table

Package: Zend_Pdf
PDF file reference table
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprivatearray $_free
Free entries 'reference' => next free object number
Details
Type
array
>VPropertyprivatearray $_generations
Generation numbers for free objects.
Array: objNum => nextGeneration
Details
Type
array
>VPropertyprivatearray $_inuse
In use entries 'reference' => offset
Details
Type
array
>VPropertyprivate\Zend_Pdf_Element_Reference_Table $_parent
Parent reference table
>VPropertyprivatearray $_usedObjects
Generation numbers for free objects.
Array: objNum => objGeneration
Details
Type
array

Methods

methodpublic__construct() : void

Object constructor

methodpublicaddReference(string $ref, integer $offset, boolean $inuse = true) : void

Add reference to the reference table

Parameters
NameTypeDescription
$refstring
$offsetinteger
$inuseboolean
methodpublicgetNewGeneration(integer $objNum) : \unknown

Get next generation number for free object

Parameters
NameTypeDescription
$objNuminteger
Returns
TypeDescription
\unknown
methodpublicgetNextFree(string $ref) : integer

Get next object from a list of free objects.

Parameters
NameTypeDescription
$refstring
Returns
TypeDescription
integer
Throws
ExceptionDescription
\Zend_Pdf_Exception
methodpublicgetOffset(string $ref) : integer

Get object offset

Parameters
NameTypeDescription
$refstring
Returns
TypeDescription
integer
methodpublicsetParent(\Zend_Pdf_Element_Reference_Table $parent) : void

Set parent reference table

Parameters
NameTypeDescription
$parent\Zend_Pdf_Element_Reference_Table
Documentation was generated by phpDocumentor 2.2.0 .