dmBridge PHP API
SampleCustomViewer Class Reference

This is a sample custom viewer. More...

Inheritance diagram for SampleCustomViewer:

Public Member Functions


Detailed Description

This is a sample custom viewer.

See the user's manual for information about how viewers work and how to write your own.

Author:
My Great Self <myself@great.edu>

Definition at line 9 of file SampleCustomViewer.php.


Member Function Documentation

SampleCustomViewer::getHTMLTag ( )

Returns the HTML to render the viewer, minus any required script or style tags, which should instead be added in viewerWillRender().

Returns:
HTML anchor tag

Implements DMObjectViewerDelegate.

Definition at line 32 of file SampleCustomViewer.php.

Referenced by getHTMLTagNoJS().

SampleCustomViewer::getHTMLTagNoJS ( )
Returns:
HTML anchor tag

Implements DMObjectViewerDelegate.

Definition at line 42 of file SampleCustomViewer.php.

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

Implements DMObjectViewerDelegate.

Definition at line 49 of file SampleCustomViewer.php.

SampleCustomViewer::viewerWillRender ( )

An example of how to use custom JavaScript and CSS for the viewer.

These must NOT be output by getHTMLTag(). If the viewer does not require custom JS/CSS, it is safe to omit this method.

Reimplemented from DMAbstractViewer.

Definition at line 17 of file SampleCustomViewer.php.


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