STransMediaApplet Class Reference
[Translators]

This class translates SNAP applet resources into html for display. More...

Inheritance diagram for STransMediaApplet:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 doc ()
 returns a brief description of this class
 getInFormat ()
 returns the desired input type
 getOutFormat ()
 returns the output type
 translate ($si)
 Translates the applet resource into html. This just pulls the resource from the database, or inputs an empty div if the source sin't in the database.


Detailed Description

This class translates SNAP applet resources into html for display.

There appears to be very, very little difference between this class and STransMediaInteractivateApplet.php5


Member Function Documentation

STransMediaApplet::doc (  ) 

returns a brief description of this class

Returns:
[string]: A brief description of this class

Reimplemented from STrans.

STransMediaApplet::getInFormat (  ) 

returns the desired input type

Returns:
[string]: Always returns the string 'media_applet', the only input this handles.

Reimplemented from STrans.

STransMediaApplet::getOutFormat (  ) 

returns the output type

Returns:
[string]: Always returns the string 'html', the only output this gives.

Reimplemented from STrans.

STransMediaApplet::translate ( si  ) 

Translates the applet resource into html. This just pulls the resource from the database, or inputs an empty div if the source sin't in the database.

Parameters:
$si [SInput]: the current SInput object being translated.
Returns:
[boolean]: always returns true.

Reimplemented from STrans.


The documentation for this class was generated from the following file:

Generated on Wed Nov 24 02:03:47 2010 for Common by  doxygen 1.5.6