The following code will create a blank page with an interactive area in the lower left corner that contains a hyperlink:
$pdf = new Zend_Pdf();
$pdf->pages[0] = new Zend_Pdf_Page( Zend_Pdf_Page::SIZE_A4 );
$target = Zend_Pdf_Action_URI :: create( 'http://example.com' );
$annotation = Zend_Pdf_Annotation_Link :: create( 0, 0, 100, 100, $target );
$pdf->pages[0]->attachAnnotation( $annotation );
$pdf->save( 'test.pdf' );
The above snippet was tested with Zend Framework 1.10.7, but should work with all versions of Zend Framework from version 1.9.7 onwards.
source
share