TKSnapInteractivateInstructorPreview Class Reference
[Undocumented Classes]

INSERT BRIEF DESCRIPTION HERE. More...

Inheritance diagram for TKSnapInteractivateInstructorPreview:

Inheritance graph
[legend]

List of all members.

Protected Member Functions

 getFormattedSource ()
 Generates an HTML display of the content in some usable format.
 getTranslators ()
 Returns array of translator pretty and ugly names.


Detailed Description

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Author:
AUTHOR (DATE)

Member Function Documentation

TKSnapInteractivateInstructorPreview::getFormattedSource (  )  [protected]

Generates an HTML display of the content in some usable format.

The preview frame in the Snap2 admin tool has a Formatted Source tab which shows the source (non-translated) in some way that is visually appealing. For XML/HTML content, the source should probably remain intact, albeit with syntax highlighting and the like. For other types of content, a more descriptive approach should be used, such as a table listing all of the attributes stored in the database.

Returns:
[string]: string of HTML to be shown in Formatted Source tab of preview frame

Reimplemented from TKSnapPreview.

TKSnapInteractivateInstructorPreview::getTranslators (  )  [protected]

Returns array of translator pretty and ugly names.

The array returned must be associative. The key for each element is the pretty name to be displayed in the translator drop down in the preview frame. The value is the name of the translator class (the 'ugly' name). You do not need to include entries for Formatted Source and Raw Source as these are generated automatically.

Reimplemented from TKSnapPreview.


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

Generated on Wed Nov 24 02:04:35 2010 for Common by  doxygen 1.5.6