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 'reference' element implementation
Zend_Pdf_Element_Reference_Context $_context = ''Reference context
DetailsZend_Pdf_ElementFactory $_factory = ''Reference to the factory.
It's the same as referenced object factory, but we save it here to avoid unnecessary dereferencing, whech can produce cascade dereferencing and parsing. The same for duplication of getFactory() function. It can be processed by __call() method, but we catch it here.
Detailsinteger $_genNum = ''Generation number
Detailsinteger $_objNum = ''Object number within PDF file
Detailsmixed $_ref = ''Object value The reference to the object
Details__call(
string $method, array $args
)
:
mixedCall handler
Details__construct(
integer $objNum, integer $genNum
=
0, Zend_Pdf_Element_Reference_Context $context, Zend_Pdf_ElementFactory $factory
)
:
Object constructor:
Details__get(
string $property
)
:
mixedGet handler
Details__set(
string $property, mixed $value
)
:
Set handler
Details_dereference(
)
:
Dereference.
Take inderect object, take $value member of this object (must be Zend_Pdf_Element), take reference to the $value member of this object and assign it to $value member of current PDF Reference object $obj can be null
DetailscleanUp(
)
:
Clean up resources
DetailsgetFactory(
)
:
Zend_Pdf_ElementFactoryCheck, that object is generated by specified factory
DetailsgetObject(
)
:
Zend_Pdf_Element_ObjectReturn object, which can be used to identify object and its references identity
DetailsgetType(
)
:
integerReturn type of the element.
DetailstoPhp(
)
:
mixedConvert PDF element to PHP type.
DetailstoString(
Zend_Pdf_Factory $factory
=
null
)
:
stringReturn reference to the object
Detailstouch(
)
:
Mark object as modified, to include it into new PDF file segment.
Details