PDF file 'numeric' 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 |
__construct(\numeric $val)
\numeric
\Zend_Pdf_Exception |
---|
cleanUp()
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)
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
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.
$value : \numeric
$_parentObject : \Zend_Pdf_Element_Object
null
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