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

Public Member Functions

 __construct (Zend_Pdf_Element_Dictionary $dict)
 
 __get ($property)
 
 __set ($property, $value)
 
 toString ()
 
 getPDFLength ()
 
 getPDFString ()
 
 getLastFreeObject ()
 

Detailed Description

Definition at line 30 of file Trailer.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( Zend_Pdf_Element_Dictionary  $dict)

Object constructor

Parameters
Zend_Pdf_Element_Dictionary$dict

Definition at line 62 of file Trailer.php.

63  {
64  $this->_dict = $dict;
65 
66  foreach ($this->_dict->getKeys() as $dictKey) {
67  $this->_checkDictKey($dictKey);
68  }
69  }

Member Function Documentation

◆ __get()

__get (   $property)

Get handler

Parameters
string$property
Returns
mixed

Definition at line 77 of file Trailer.php.

78  {
79  return $this->_dict->$property;
80  }

◆ __set()

__set (   $property,
  $value 
)

Set handler

Parameters
string$property
mixed$value

Definition at line 88 of file Trailer.php.

89  {
90  $this->_checkDictKey($property);
91  $this->_dict->$property = $value;
92  }
$value
Definition: gender.phtml:16

◆ getLastFreeObject()

getLastFreeObject ( )
abstract

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

Returns
integer

◆ getPDFLength()

getPDFLength ( )
abstract

Get length of source PDF

Returns
string

◆ getPDFString()

getPDFString ( )
abstract

Get PDF String

Returns
string

◆ toString()

toString ( )

Return string trailer representation

Returns
string

Definition at line 99 of file Trailer.php.

100  {
101  return "trailer\n" . $this->_dict->toString() . "\n";
102  }

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