dmBridge PHP API
DMPaginatedPDFViewer Class Reference
Inheritance diagram for DMPaginatedPDFViewer:

Public Member Functions

Detailed Description

Outputs an <embed> tag inside a <div> of class dmPDFViewer. If the web browser has the appropriate plug-in installed (e.g. Adobe Acrobat), the PDF will be rendered inline with the web page. If not, will display a hyperlink to download the PDF.

This viewer requires Ghostscript to be installed on the server.

The <embed> tag is not HTML-compliant, but avoids compatibility problems caused by the <object> tag.

Alex Dolski <>

Definition at line 23 of file DMPaginatedPDFViewer.php.

Member Function Documentation

DMPaginatedPDFViewer::getHTMLTag ( )
HTML div tag

Implements DMObjectViewerDelegate.

Definition at line 42 of file DMPaginatedPDFViewer.php.

Referenced by getHTMLTagNoJS().

DMPaginatedPDFViewer::getHTMLTagNoJS ( )
HTML tag

Implements DMObjectViewerDelegate.

Definition at line 64 of file DMPaginatedPDFViewer.php.

DMPaginatedPDFViewer::getName ( )
The name of the object viewer.

Implements DMObjectViewerDelegate.

Definition at line 71 of file DMPaginatedPDFViewer.php.

DMPaginatedPDFViewer::viewerWillRender ( )

Default implementation that does nothing.

See DMObjectViewerDelegate for documentation of this method.


Reimplemented from DMAbstractViewer.

Definition at line 26 of file DMPaginatedPDFViewer.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables