Pdf/Trailer/Keeper.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: Keeper.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Pdf_Trailer_Keeper
Package: Zend\Pdf
Returns
PDF file trailer.
Stores and provides access to the trailer parced from a PDF file
- 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, \Zend_Pdf_Element_Reference_Context $context, \Zend_Pdf_Trailer $prev = null) : void
Object constructor
Parameters
Name | Type | Description |
---|---|---|
$dict | \Zend_Pdf_Element_Dictionary | |
$context | \Zend_Pdf_Element_Reference_Context | |
$prev | \Zend_Pdf_Trailer |


__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() : integer
Get header of free objects list Returns object number of last free object
Returns
Throws
Type | Description |
---|---|
integer |
Exception | Description |
---|---|
\Zend_Pdf_Exception |


getRefTable() : \Zend_Pdf_Element_Reference_Context
Get reference table, which corresponds to the trailer.
Proxy to the $_context member methad call
Type | Description |
---|---|
\Zend_Pdf_Element_Reference_Context |


setPrev(\Zend_Pdf_Trailer_Keeper $prev) : void
Setter for $this->_prev
Parameters
Name | Type | Description |
---|---|---|
$prev | \Zend_Pdf_Trailer_Keeper |