dmBridge PHP API
DMObjectViewerDefinition Class Reference

Defines the association between a media type and a dmBridge object viewer class. More...

Public Member Functions


Detailed Description

Defines the association between a media type and a dmBridge object viewer class.

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

Definition at line 16 of file DMObjectViewerDefinition.php.


Constructor & Destructor Documentation

DMObjectViewerDefinition::__construct ( DMMediaType media_type)
Parameters:
DMMediaTypemedia_type

Definition at line 33 of file DMObjectViewerDefinition.php.


Member Function Documentation

DMObjectViewerDefinition::getClass ( )
Returns:
string

Definition at line 40 of file DMObjectViewerDefinition.php.

DMObjectViewerDefinition::getHeight ( )
Returns:
int

Definition at line 54 of file DMObjectViewerDefinition.php.

DMObjectViewerDefinition::getMaxFileSize ( )
Returns:
int Size in bytes

Definition at line 68 of file DMObjectViewerDefinition.php.

DMObjectViewerDefinition::getMediaType ( )
Returns:
string

Definition at line 82 of file DMObjectViewerDefinition.php.

DMObjectViewerDefinition::getWidth ( )
Returns:
string

Definition at line 96 of file DMObjectViewerDefinition.php.

DMObjectViewerDefinition::setClass ( str)
Parameters:
stringstr

Definition at line 47 of file DMObjectViewerDefinition.php.

DMObjectViewerDefinition::setHeight ( int)
Parameters:
intint

Definition at line 61 of file DMObjectViewerDefinition.php.

DMObjectViewerDefinition::setMaxFileSize ( int)
Parameters:
intint Size in bytes

Definition at line 75 of file DMObjectViewerDefinition.php.

DMObjectViewerDefinition::setMediaType ( DMMediaType media_type)
Parameters:
DMMediaTypemedia_type

Definition at line 89 of file DMObjectViewerDefinition.php.

Referenced by __construct().

DMObjectViewerDefinition::setWidth ( str)
Parameters:
stringstr

Definition at line 103 of file DMObjectViewerDefinition.php.


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