dmBridge PHP API
DMAbstractViewer Class Reference

An abstract object viewer class that all object viewer classes, whether built-in or custom-written, should extend. More...

Inheritance diagram for DMAbstractViewer:

Public Member Functions

Protected Member Functions


Detailed Description

An abstract object viewer class that all object viewer classes, whether built-in or custom-written, should extend.

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

Definition at line 16 of file DMAbstractViewer.php.


Member Function Documentation

DMAbstractViewer::setHeight ( height)
Parameters:
stringheight Height, including CSS units

Definition at line 113 of file DMAbstractViewer.php.

DMAbstractViewer::setHelper ( DMGenericTemplateHelper helper)
Parameters:
DMGenericTemplateHelperhelper

Definition at line 55 of file DMAbstractViewer.php.

DMAbstractViewer::setMediaType ( DMMediaType media_type)
Parameters:
DMMediaTypemedia_type

Definition at line 69 of file DMAbstractViewer.php.

DMAbstractViewer::setObject ( DMObject obj)
Parameters:
DMObjectobj

Definition at line 83 of file DMAbstractViewer.php.

DMAbstractViewer::setWidth ( width)
Parameters:
stringwidth Width, including CSS units

Definition at line 98 of file DMAbstractViewer.php.

DMAbstractViewer::viewerWillRender ( )

Default implementation that does nothing.

See DMObjectViewerDelegate for documentation of this method.

Returns:
void

Reimplemented in SampleCustomViewer, DMMonocle2Viewer, DMMonocleViewer, and DMPaginatedPDFViewer.

Definition at line 42 of file DMAbstractViewer.php.


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