API Documentation

Pdf/Parser.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
version
$Id: Parser.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_Parser

Description

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.

Zend_Pdf_Parser

copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
Properties
$_stringParser
$_trailer
$_pdfVersion
Methods
getPDFLength
getPDFString
getPDFVersion
_loadXRefTable
getTrailer
__construct
__destruct

Description

PDF file parser

Properties

$_pdfVersion

string $_pdfVersion = ''

PDF version specified in the file header

Details

$_pdfVersion
string
visibility
private
default
final
false
static
false

$_stringParser

Zend_Pdf_StringParser $_stringParser = ''

String parser

Details

$_stringParser
Zend_Pdf_StringParser
visibility
private
default
final
false
static
false

$_trailer

Zend_Pdf_Trailer_Keeper $_trailer = ''

Last PDF file trailer

Details

$_trailer
Zend_Pdf_Trailer_Keeper
visibility
private
default
final
false
static
false

Methods

__construct

__construct( mixed $source, Zend_Pdf_ElementFactory_Interface $factory, boolean $load ) :

Object constructor

Note: PHP duplicates string, which is sent by value, only of it's updated. Thus we don't need to care about overhead

Arguments
$source
mixed
$factory
Zend_Pdf_ElementFactory_Interface
$load
boolean
Details
visibility
public
final
false
static
false
throws

__destruct

__destruct( ) :

Object destructor

Details
visibility
public
final
false
static
false

_loadXRefTable

_loadXRefTable( integer $offset ) : Zend_Pdf_Trailer_Keeper

Load XReference table and referenced objects

Arguments
$offset
integer
Details
visibility
private
final
false
static
false
throws

getPDFLength

getPDFLength( ) : integer

Get length of source PDF

Output
integer
Details
visibility
public
final
false
static
false

getPDFString

getPDFString( ) : string

Get PDF String

Output
string
Details
visibility
public
final
false
static
false

getPDFVersion

getPDFVersion( ) : string

PDF version specified in the file header

Output
string
Details
visibility
public
final
false
static
false

getTrailer

getTrailer( ) : Zend_Pdf_Trailer_Keeper

Get Trailer object

Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.