dmBridge PHP API
DMGenericObjectViewer Class Reference

A general-purpose object viewer that outputs the URL of the file of the current in an <object> tag. More...

Inheritance diagram for DMGenericObjectViewer:

Public Member Functions


Detailed Description

A general-purpose object viewer that outputs the URL of the file of the current in an <object> tag.

Should be used as a fallback in cases where there is not a more appropriate viewer to handle a given file format. Most web browsers, if they can't find a plug-in to deal with the MIME type, will display the <object> tag as a link to download the file.

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

Definition at line 19 of file DMGenericObjectViewer.php.


Member Function Documentation

DMGenericObjectViewer::getHTMLTag ( )
Returns:
HTML anchor tag

Implements DMObjectViewerDelegate.

Definition at line 25 of file DMGenericObjectViewer.php.

Referenced by getHTMLTagNoJS().

DMGenericObjectViewer::getHTMLTagNoJS ( )
Returns:
HTML tag

Implements DMObjectViewerDelegate.

Definition at line 43 of file DMGenericObjectViewer.php.

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

Implements DMObjectViewerDelegate.

Definition at line 50 of file DMGenericObjectViewer.php.


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