/** * Get open Action * Returns Zend_Pdf_Target (Zend_Pdf_Destination or Zend_Pdf_Action object) * * @return Zend_Pdf_Target */ public function getOpenAction() { if ($this->_trailer->Root->OpenAction !== null) { require_once 'Zend/Pdf/Target.php'; return Zend_Pdf_Target::load($this->_trailer->Root->OpenAction); } else { return null; } }
/** * Get open Action * Returns Zend_Pdf_Target (Zend_Pdf_Destination or Zend_Pdf_Action object) * * @return Zend_Pdf_Target */ public function getOpenAction() { if ($this->_trailer->Root->OpenAction !== null) { return Zend_Pdf_Target::load($this->_trailer->Root->OpenAction); } else { return null; } }