PDF file 'reference' element implementation
category | Zend |
---|---|
package | Zend_Pdf |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Pdf_Element |
__call(string $method, array $args) : mixed
string
array
mixed
__construct(integer $objNum, integer $genNum = 0
, \Zend_Pdf_Element_Reference_Context $context, \Zend_Pdf_ElementFactory $factory)
integer
integer
\Zend_Pdf_Element_Reference_Context
\Zend_Pdf_ElementFactory
\Zend_Pdf_Exception |
---|
__get(string $property) : mixed
string
mixed
__set(string $property, mixed $value)
string
mixed
cleanUp()
inherited_from | \Zend_Pdf_Element::cleanUp() |
---|
cleanUp()
getFactory() : \Zend_Pdf_ElementFactory
\Zend_Pdf_ElementFactory
getObject() : \Zend_Pdf_Element_Object
\Zend_Pdf_Element_Object
getParentObject() : \Zend_Pdf_Element_Object
\Zend_Pdf_Element_Object
getType() : integer
See ZPdfPDFConst for possible values
inherited_from | \Zend_Pdf_Element::getType() |
---|
integer
getType() : integer
See ZPdfPDFConst for possible values
integer
makeClone(\Zend_Pdf_ElementFactory $factory, array $processed, integer $mode)
returns | Zend_Pdf_Element |
---|---|
inherited_from | \Zend_Pdf_Element::makeClone() |
\Zend_Pdf_ElementFactory
The factory to attach
integer
Cloning mode (defines filter for objects cloning)
makeClone(\Zend_Pdf_ElementFactory $factory, array $processed, integer $mode)
todo | It's nevessry to check if SplObjectStorage class works faster (Needs PHP 5.3.x to attach object _with_ additional data to storage) |
---|---|
returns | Zend_Pdf_Element |
\Zend_Pdf_ElementFactory
The factory to attach
integer
Cloning mode (defines filter for objects cloning)
phpToPdf(mixed $input) : \Zend_Pdf_Element
mixed
\Zend_Pdf_Element
setParentObject(\Zend_Pdf_Element_Object $parent)
\Zend_Pdf_Element_Object
toPhp() : mixed
inherited_from | \Zend_Pdf_Element::toPhp() |
---|
mixed
toPhp() : mixed
mixed
toString(\Zend_Pdf_Factory $factory = null
) : string
$factory parameter defines operation context.
inherited_from | \Zend_Pdf_Element::toString() |
---|
\Zend_Pdf_Factory
string
toString(\Zend_Pdf_Factory $factory = null
) : string
$factory parameter defines operation context.
\Zend_Pdf_Factory
string
touch()
We don't automate this action to keep control on PDF update process. All new objects are treated as "modified" automatically.
inherited_from | \Zend_Pdf_Element::touch() |
---|
touch()
We don't automate this action to keep control on PDF update process. All new objects are treated as "modified" automatically.
_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
\Zend_Pdf_Exception |
---|
$_context : \Zend_Pdf_Element_Reference_Context
$_factory : \Zend_Pdf_ElementFactory
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.
$_genNum : integer
$_objNum : integer
$_parentObject : \Zend_Pdf_Element_Object
null
$_ref : mixed
CLONE_MODE_FORCE_CLONING = 2
CLONE_MODE_SKIP_PAGES = 1
TYPE_ARRAY = 5
TYPE_BOOL = 1
TYPE_DICTIONARY = 6
TYPE_NAME = 4
TYPE_NULL = 11
TYPE_NUMERIC = 2
TYPE_STREAM = 7
TYPE_STRING = 3