API Documentation

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 license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Pdf  
version
$Id: Keeper.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Pdf_Trailer_Keeper

PDF file trailer.

Stores and provides access to the trailer parced from a PDF file

Extends from
\Zend_Pdf_Trailer
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Pdf  

Properties

Propertyprivate\Zend_Pdf_Element_Reference_Context  $_context= ''

Reference context

Propertyprivate\Zend_Pdf_Trailer  $_prev= ''

Previous trailer

Details
Type
\Zend_Pdf_Trailer

Methods

methodpublic__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
methodpublic__get( string $property ) : mixed

Get handler

Inherited from: \Zend_Pdf_Trailer::__get()
Parameters
Name Type Description
$property string
Returns
Type Description
mixed
methodpublic__set( string $property, mixed $value ) : void

Set handler

Inherited from: \Zend_Pdf_Trailer::__set()
Parameters
Name Type Description
$property string
$value mixed
methodprivate_checkDictKey( string $key ) : void

Check if key is correct

Inherited from: \Zend_Pdf_Trailer::_checkDictKey()
Parameters
Name Type Description
$key string
Throws
Exception Description
\Zend_Pdf_Exception
methodpublicgetLastFreeObject( ) : integer

Get header of free objects list Returns object number of last free object

Returns
Type Description
integer
Throws
Exception Description
\Zend_Pdf_Exception
methodpublicgetPDFLength( ) : string

Get length of source PDF

Returns
Type Description
string
methodpublicgetPDFString( ) : string

Get PDF String

Returns
Type Description
string
methodpublicgetPrev( ) : \Zend_Pdf_Trailer

Getter for $this->_prev

Returns
Type Description
\Zend_Pdf_Trailer
methodpublicgetRefTable( ) : \Zend_Pdf_Element_Reference_Context

Get reference table, which corresponds to the trailer.

Proxy to the $_context member methad call

Returns
Type Description
\Zend_Pdf_Element_Reference_Context
methodpublicsetPrev( \Zend_Pdf_Trailer_Keeper $prev ) : void

Setter for $this->_prev

Parameters
Name Type Description
$prev \Zend_Pdf_Trailer_Keeper
methodpublictoString( ) : string

Return string trailer representation

Inherited from: \Zend_Pdf_Trailer::toString()
Returns
Type Description
string
Documentation was generated by DocBlox 0.13.3.