Zend Framework
1.12
|
Public Member Functions | |
__construct ($objNum, $genNum=0, Zend_Pdf_Element_Reference_Context $context, Zend_Pdf_ElementFactory $factory) | |
Object constructor: | |
getFactory () | |
Check, that object is generated by specified factory. | |
getType () | |
Return type of the element. | |
toString ($factory=null) | |
Return reference to the object. | |
makeClone (Zend_Pdf_ElementFactory $factory, array &$processed, $mode) | |
Detach PDF object from the factory (if applicable), clone it and attach to new factory. | |
touch () | |
Mark object as modified, to include it into new PDF file segment. | |
getObject () | |
Return object, which can be used to identify object and its references identity. | |
__get ($property) | |
Get handler. | |
__set ($property, $value) | |
Set handler. | |
__call ($method, $args) | |
Call handler. | |
cleanUp () | |
Clean up resources. | |
toPhp () | |
Convert PDF element to PHP type. | |
![]() | |
getType () | |
Return type of the element. | |
toString ($factory=null) | |
Convert element to a string, which can be directly written to a PDF file. | |
makeClone (Zend_Pdf_ElementFactory $factory, array &$processed, $mode) | |
Detach PDF object from the factory (if applicable), clone it and attach to new factory. | |
setParentObject (Zend_Pdf_Element_Object $parent) | |
Set top level parent indirect object. | |
getParentObject () | |
Get top level parent indirect object. | |
touch () | |
Mark object as modified, to include it into new PDF file segment. | |
cleanUp () | |
Clean up resources, used by object. | |
toPhp () | |
Convert PDF element to PHP type. | |
Additional Inherited Members | |
![]() | |
static | phpToPdf ($input) |
Convert PHP value into PDF element. | |
![]() | |
const | TYPE_BOOL = 1 |
const | TYPE_NUMERIC = 2 |
const | TYPE_STRING = 3 |
const | TYPE_NAME = 4 |
const | TYPE_ARRAY = 5 |
const | TYPE_DICTIONARY = 6 |
const | TYPE_STREAM = 7 |
const | TYPE_NULL = 11 |
const | CLONE_MODE_SKIP_PAGES = 1 |
const | CLONE_MODE_FORCE_CLONING = 2 |
__construct | ( | $objNum, | |
$genNum = 0 , |
|||
Zend_Pdf_Element_Reference_Context | $context, | ||
Zend_Pdf_ElementFactory | $factory | ||
) |
Object constructor:
integer | $objNum | |
integer | $genNum | |
Zend_Pdf_Element_Reference_Context | $context | |
Zend_Pdf_ElementFactory | $factory |
Zend_Pdf_Exception |
__call | ( | $method, | |
$args | |||
) |
Call handler.
string | $method | |
array | $args |
__get | ( | $property | ) |
Get handler.
string | $property |
__set | ( | $property, | |
$value | |||
) |
Set handler.
string | $property | |
mixed | $value |
cleanUp | ( | ) |
Clean up resources.
getFactory | ( | ) |
Check, that object is generated by specified factory.
getObject | ( | ) |
Return object, which can be used to identify object and its references identity.
getType | ( | ) |
Return type of the element.
makeClone | ( | Zend_Pdf_ElementFactory | $factory, |
array & | $processed, | ||
$mode | |||
) |
Detach PDF object from the factory (if applicable), clone it and attach to new factory.
Zend_Pdf_ElementFactory | $factory | The factory to attach |
array | &$processed | List of already processed indirect objects, used to avoid objects duplication |
integer | $mode | Cloning mode (defines filter for objects cloning) |
toPhp | ( | ) |
Convert PDF element to PHP type.
toString | ( | $factory = null | ) |
Return reference to the object.
Zend_Pdf_Factory | $factory |
touch | ( | ) |
Mark object as modified, to include it into new PDF file segment.