Definition at line 39 of file Explicit.php.
◆ __construct()
Explicit destination object constructor
- Parameters
-
- Exceptions
-
Definition at line 61 of file Explicit.php.
64 #require_once 'Zend/Pdf/Exception.php'; 65 throw new Zend_Pdf_Exception(
'Explicit destination resource Array must be a direct or an indirect array object.');
68 $this->_destinationArray = $destinationArray;
70 switch (count($this->_destinationArray->items)) {
72 #require_once 'Zend/Pdf/Exception.php'; 77 #require_once 'Zend/Pdf/Exception.php'; 78 throw new Zend_Pdf_Exception(
'Destination array must contain a destination type name.');
86 switch ($this->_destinationArray->items[0]->getType()) {
88 $this->_isRemote =
true;
92 $this->_isRemote =
false;
96 #require_once 'Zend/Pdf/Exception.php'; 97 throw new Zend_Pdf_Exception(
'Destination target must be a page number or page dictionary object.');
◆ getResource()
◆ isRemote()
Returns true if it's a remote destination
- Returns
- boolean
Definition at line 107 of file Explicit.php.
◆ $_destinationArray
◆ $_isRemote
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Pdf/Destination/Explicit.php