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.
PDF file element implementation
TYPE_BOOL = '1'
TYPE_NUMERIC = '2'
TYPE_STRING = '3'
TYPE_NAME = '4'
TYPE_ARRAY = '5'
TYPE_DICTIONARY = '6'
TYPE_STREAM = '7'
TYPE_NULL = '11'
Zend_Pdf_Element_Object $_parentObject = 'null'
Reference to the top level indirect object, which contains this element.
cleanUp(
)
:
Clean up resources, used by object
getParentObject(
)
:
Zend_Pdf_Element_Object
Get top level parent indirect object.
getType(
)
:
integer
Return type of the element.
See ZPdfPDFConst for possible values
phpToPdf(
mixed $input
)
:
Zend_Pdf_Element
Convert PHP value into PDF element.
setParentObject(
Zend_Pdf_Element_Object $parent
)
:
Set top level parent indirect object.
toPhp(
)
:
mixed
Convert PDF element to PHP type.
toString(
Zend_Pdf_Factory $factory
=
null
)
:
string
Convert element to a string, which can be directly written to a PDF file.
$factory parameter defines operation context.
touch(
)
:
Mark object as modified, to include it into new PDF file segment.
We don't automate this action to keep control on PDF update process. All new objects are treated as "modified" automatically.