Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($val) | |
getType () | |
length () | |
clear () | |
append ($val) | |
makeClone (Zend_Pdf_ElementFactory $factory, array &$processed, $mode) | |
toString ($factory=null) | |
![]() | |
getType () | |
toString ($factory=null) | |
makeClone (Zend_Pdf_ElementFactory $factory, array &$processed, $mode) | |
setParentObject (Zend_Pdf_Element_Object $parent) | |
getParentObject () | |
touch () | |
cleanUp () | |
toPhp () | |
Data Fields | |
$value | |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static | phpToPdf ($input) |
Definition at line 38 of file Stream.php.
__construct | ( | $val | ) |
Object constructor
string | $val |
Definition at line 53 of file Stream.php.
append | ( | $val | ) |
Append value to a stream
mixed | $val |
Definition at line 99 of file Stream.php.
clear | ( | ) |
Clear stream
Definition at line 86 of file Stream.php.
getType | ( | ) |
length | ( | ) |
Stream length. (Method is used to avoid string copying, which may occurs in some cases)
Definition at line 76 of file Stream.php.
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) |
Definition at line 115 of file Stream.php.
toString | ( | $factory = null | ) |
Return object as string
Zend_Pdf_Factory | $factory |
Definition at line 126 of file Stream.php.
Definition at line 45 of file Stream.php.