Pdf/Element/String/Binary.php

Show: inherited
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 [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: Binary.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Pdf_Element_String_Binary

Package: Zend\Pdf

PDF file 'binary string' element implementation

Parent(s)
\Zend_Pdf_Element_String < \Zend_Pdf_Element
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

Properties

Propertyprivate\Zend_Pdf_Element_Object $_parentObject = null
inherited

Reference to the top level indirect object, which contains this element.

Inherited from: \Zend_Pdf_Element::$$_parentObject\Zend_Pdf_Element_String::$$_parentObject
Default valuenullDetails
Type
\Zend_Pdf_Element_Object
Inherited_from
\Zend_Pdf_Element::$$_parentObject  
Inherited_from
\Zend_Pdf_Element_String::$$_parentObject  
Propertypublicstring $value =

Object value

Details
Type
string

Methods

methodpublic__construct(string $val) : void
inherited

Object constructor

Inherited from: \Zend_Pdf_Element_String::__construct()
Parameters
Name Type Description
$val string
methodpubliccleanUp() : void
inherited

Clean up resources, used by object

Inherited from: \Zend_Pdf_Element::cleanUp()\Zend_Pdf_Element_String::cleanUp()
methodpublicescape(string $inStr) : string
static

Escape string according to the PDF rules

Parameters
Name Type Description
$inStr string
Returns
Type Description
string
methodpublicgetParentObject() : \Zend_Pdf_Element_Object
inherited

Get top level parent indirect object.

Inherited from: \Zend_Pdf_Element::getParentObject()\Zend_Pdf_Element_String::getParentObject()
Returns
Type Description
\Zend_Pdf_Element_Object
methodpublicgetType() : integer
inherited

Return type of the element.

Inherited from: \Zend_Pdf_Element_String::getType()

See ZPdfPDFConst for possible values

Returns
Type Description
integer
methodpublicmakeClone(\Zend_Pdf_ElementFactory $factory, array $processed, integer $mode) : void
inherited

Detach PDF object from the factory (if applicable), clone it and attach to new factory.

Inherited from: \Zend_Pdf_Element::makeClone()\Zend_Pdf_Element_String::makeClone()
Parameters
Name Type Description
$factory \Zend_Pdf_ElementFactory

The factory to attach

$processed array

&$processed List of already processed indirect objects, used to avoid objects duplication

$mode integer

Cloning mode (defines filter for objects cloning)

Details
Returns
Zend_Pdf_Element  
methodpublicphpToPdf(mixed $input) : \Zend_Pdf_Element
staticinherited

Convert PHP value into PDF element.

Inherited from: \Zend_Pdf_Element::phpToPdf()\Zend_Pdf_Element_String::phpToPdf()
Parameters
Name Type Description
$input mixed
Returns
Type Description
\Zend_Pdf_Element
methodpublicsetParentObject(\Zend_Pdf_Element_Object $parent) : void
inherited

Set top level parent indirect object.

Inherited from: \Zend_Pdf_Element::setParentObject()\Zend_Pdf_Element_String::setParentObject()
Parameters
Name Type Description
$parent \Zend_Pdf_Element_Object
methodpublictoPhp() : mixed
inherited

Convert PDF element to PHP type.

Inherited from: \Zend_Pdf_Element::toPhp()\Zend_Pdf_Element_String::toPhp()
Returns
Type Description
mixed
methodpublictoString(\Zend_Pdf_Factory $factory = null) : string

Return object as string

$factory parameter defines operation context.

Parameters
Name Type Description
$factory \Zend_Pdf_Factory
Returns
Type Description
string
methodpublictouch() : void
inherited

Mark object as modified, to include it into new PDF file segment.

Inherited from: \Zend_Pdf_Element::touch()\Zend_Pdf_Element_String::touch()

We don't automate this action to keep control on PDF update process. All new objects are treated as "modified" automatically.

methodpublicunescape(string $inStr) : string
static

Unescape string according to the PDF rules

Parameters
Name Type Description
$inStr string
Returns
Type Description
string
Documentation was generated by phpDocumentor 2.0.0a8.