Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Zend_Pdf_Trailer_Generator Class Reference
Inheritance diagram for Zend_Pdf_Trailer_Generator:
Zend_Pdf_Trailer

Public Member Functions

 __construct (Zend_Pdf_Element_Dictionary $dict)
 
 getPDFLength ()
 
 getPDFString ()
 
 getLastFreeObject ()
 
- Public Member Functions inherited from Zend_Pdf_Trailer
 __construct (Zend_Pdf_Element_Dictionary $dict)
 
 __get ($property)
 
 __set ($property, $value)
 
 toString ()
 
 getPDFLength ()
 
 getPDFString ()
 
 getLastFreeObject ()
 

Detailed Description

Definition at line 33 of file Generator.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( Zend_Pdf_Element_Dictionary  $dict)

Object constructor

Parameters
Zend_Pdf_Element_Dictionary$dict

Definition at line 40 of file Generator.php.

41  {
42  parent::__construct($dict);
43  }

Member Function Documentation

◆ getLastFreeObject()

getLastFreeObject ( )

Get header of free objects list Returns object number of last free object

Returns
integer

Definition at line 73 of file Generator.php.

74  {
75  return 0;
76  }

◆ getPDFLength()

getPDFLength ( )

Get length of source PDF

Returns
string

Definition at line 50 of file Generator.php.

51  {
52  #require_once 'Zend/Pdf.php';
53  return strlen(Zend_Pdf::PDF_HEADER);
54  }
const PDF_HEADER
Definition: Pdf.php:96

◆ getPDFString()

getPDFString ( )

Get PDF String

Returns
string

Definition at line 61 of file Generator.php.

62  {
63  #require_once 'Zend/Pdf.php';
64  return Zend_Pdf::PDF_HEADER;
65  }
const PDF_HEADER
Definition: Pdf.php:96

The documentation for this class was generated from the following file: