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 'indirect object' element implementation

__call(
string $method, array $args
)
:
mixed
Call handler
Name | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
mixed |

__construct(
\Zend_Pdf_Element $val, integer $objNum, integer $genNum, \Zend_Pdf_ElementFactory $factory
)
:
void
Object constructor
Name | Type | Description |
---|---|---|
$val | \Zend_Pdf_Element | |
$objNum | integer | |
$genNum | integer | |
$factory | \Zend_Pdf_ElementFactory |
Exception | Description |
---|---|
\Zend_Pdf_Exception |

__get(
string $property
)
:
mixed
Get handler
Name | Type | Description |
---|---|---|
$property | string |
Type | Description |
---|---|
mixed |

__set(
string $property, mixed $value
)
:
void
Set handler
Name | Type | Description |
---|---|---|
$property | string | |
$value | mixed |

dump(
\Zend_Pdf_ElementFactory $factory
)
:
string
Dump object to a string to save within PDF file.
$factory parameter defines operation context.
Name | Type | Description |
---|---|---|
$factory | \Zend_Pdf_ElementFactory |
Type | Description |
---|---|
string |

getFactory(
)
:
\Zend_Pdf_ElementFactory
Check, that object is generated by specified factory
Type | Description |
---|---|
\Zend_Pdf_ElementFactory |

getObject(
)
:
\Zend_Pdf_Element_Object
Return object, which can be used to identify object and its references identity
Type | Description |
---|---|
\Zend_Pdf_Element_Object |

getParentObject(
)
:
\Zend_Pdf_Element_Object
Get top level parent indirect object.
Inherited from: \Zend_Pdf_Element::getParentObject()Type | Description |
---|---|
\Zend_Pdf_Element_Object |

getType(
)
:
integer
Return type of the element.
See ZPdfPDFConst for possible values
Type | Description |
---|---|
integer |

makeClone(
\Zend_Pdf_ElementFactory $factory, array $processed, integer $mode
)
:
void
Detach PDF object from the factory (if applicable), clone it and attach to new factory.
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) |

phpToPdf(
mixed $input
)
:
\Zend_Pdf_Element

setParentObject(
\Zend_Pdf_Element_Object $parent
)
:
void
Set top level parent indirect object.
Inherited from: \Zend_Pdf_Element::setParentObject()Name | Type | Description |
---|---|---|
$parent | \Zend_Pdf_Element_Object |

toString(
\Zend_Pdf_Factory $factory
=
null
)
:
string
Return reference to the object
$factory parameter defines operation context.
Name | Type | Description |
---|---|---|
$factory | \Zend_Pdf_Factory |
Type | Description |
---|---|
string |