dmBridge PHP API
DMGenericPDFViewer Class Reference
Inheritance diagram for DMGenericPDFViewer:

Public Member Functions

Protected 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.

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

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 21 of file DMGenericPDFViewer.php.


Member Function Documentation

DMGenericPDFViewer::getHTMLTag ( )
Returns:
HTML div tag
Since:
0.1

Implements DMObjectViewerDelegate.

Definition at line 32 of file DMGenericPDFViewer.php.

Referenced by getHTMLTagNoJS().

DMGenericPDFViewer::getHTMLTagNoJS ( )
Returns:
HTML tag

Implements DMObjectViewerDelegate.

Definition at line 59 of file DMGenericPDFViewer.php.

DMGenericPDFViewer::getName ( )
Returns:
The name of the object viewer.

Implements DMObjectViewerDelegate.

Definition at line 66 of file DMGenericPDFViewer.php.

DMGenericPDFViewer::getQuery ( ) [protected]
Returns:
DMObjectQuery

Definition at line 73 of file DMGenericPDFViewer.php.

Referenced by getHTMLTag().

DMGenericPDFViewer::setQuery ( DMObjectQuery query)
Parameters:
DMObjectQueryquery

Definition at line 80 of file DMGenericPDFViewer.php.


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