Pdf/Trailer/Generator.php
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 [email protected] 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: Generator.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Pdf_Trailer_Generator
Package: Zend\Pdf
PDF file trailer generator (used for just created PDF)
- Parent(s)
- \Zend_Pdf_Trailer
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

$_allowedKeys = array('Size', 'Prev', 'Root', 'Encrypt', 'Info', 'ID', 'Index', 'W', 'XRefStm', 'DocChecksum')
Default value
array('Size', 'Prev', 'Root', 'Encrypt', 'Info', 'ID', 'Index', 'W', 'XRefStm', 'DocChecksum')Details- Type
- n/a
- Inherited_from
- \Zend_Pdf_Trailer::$$_allowedKeys

\Zend_Pdf_Element_Dictionary $_dict =
Details
- Type
- \Zend_Pdf_Element_Dictionary
- Inherited_from
- \Zend_Pdf_Trailer::$$_dict
Methods

__construct(\Zend_Pdf_Element_Dictionary $dict) : voidObject constructor
Parameters
| Name | Type | Description |
|---|---|---|
| $dict | \Zend_Pdf_Element_Dictionary |

__get(string $property) : mixed
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $property | string |
| Type | Description |
|---|---|
| mixed |

__set(string $property, mixed $value) : void
Parameters
| Name | Type | Description |
|---|---|---|
| $property | string | |
| $value | mixed |

_checkDictKey(string $key) : void
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $key | string |
| Exception | Description |
|---|---|
| \Zend_Pdf_Exception |

getLastFreeObject() : integerGet header of free objects list Returns object number of last free object
Returns
| Type | Description |
|---|---|
| integer |