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'
Details TYPE_NUMERIC = '2'
Details TYPE_STRING = '3'
Details TYPE_NAME = '4'
Details TYPE_ARRAY = '5'
Details TYPE_DICTIONARY = '6'
Details TYPE_STREAM = '7'
Details TYPE_NULL = '11'
DetailsZend_Pdf_Element_Object $_parentObject = 'null'Reference to the top level indirect object, which contains this element.
DetailscleanUp(
)
:
Clean up resources, used by object
DetailsgetParentObject(
)
:
Zend_Pdf_Element_ObjectGet top level parent indirect object.
DetailsgetType(
)
:
integerReturn type of the element.
See ZPdfPDFConst for possible values
DetailsphpToPdf(
mixed $input
)
:
Zend_Pdf_ElementConvert PHP value into PDF element.
DetailssetParentObject(
Zend_Pdf_Element_Object $parent
)
:
Set top level parent indirect object.
DetailstoPhp(
)
:
mixedConvert PDF element to PHP type.
DetailstoString(
Zend_Pdf_Factory $factory
=
null
)
:
stringConvert element to a string, which can be directly written to a PDF file.
$factory parameter defines operation context.
Detailstouch(
)
:
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.
Details