dmBridge PHP API
DMFileLinkViewer Class Reference

Outputs an anchor (<a>) tag to download an object's file. More...

Inheritance diagram for DMFileLinkViewer:

Public Member Functions


Detailed Description

Outputs an anchor (<a>) tag to download an object's file.

Useful for file formats that can't be displayed in a web browser.

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

Definition at line 16 of file DMFileLinkViewer.php.


Member Function Documentation

DMFileLinkViewer::getHTMLTag ( )
Returns:
HTML tag

Implements DMObjectViewerDelegate.

Definition at line 22 of file DMFileLinkViewer.php.

Referenced by getHTMLTagNoJS().

DMFileLinkViewer::getHTMLTagNoJS ( )
Returns:
HTML tag

Implements DMObjectViewerDelegate.

Definition at line 37 of file DMFileLinkViewer.php.

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

Implements DMObjectViewerDelegate.

Definition at line 54 of file DMFileLinkViewer.php.

Referenced by getHTMLTag().

DMFileLinkViewer::isLowBandwidthCompatible ( )

Whether the viewer is "bandwidth-safe," e.g.

whether the content it loads can be safely viewed over a subjectively "slow" connection.

Returns:
boolean True, always.

Implements DMObjectViewerDelegate.

Definition at line 47 of file DMFileLinkViewer.php.


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