STransXSL Class Reference
[Translators]

Loads an Extensible Stylesheet Language and uses it to translate a given bit of XML. More...

Inheritance diagram for STransXSL:

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
 transformJournalXML ($si, $input)
 Processes some given XML through an XSL file.
 translate ($si)
 Translates the XSL into html.


Detailed Description

Loads an Extensible Stylesheet Language and uses it to translate a given bit of XML.

Definition at line 7 of file STransXSL.php5.


Member Function Documentation

STransXSL::doc (  ) 

returns a brief description of this class.

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

Reimplemented from STrans.

Definition at line 13 of file STransXSL.php5.

STransXSL::getInFormat (  ) 

returns the desired input type

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

Reimplemented from STrans.

Definition at line 26 of file STransXSL.php5.

STransXSL::getOutFormat (  ) 

returns the output type

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

Reimplemented from STrans.

Definition at line 34 of file STransXSL.php5.

STransXSL::transformJournalXML ( si,
input 
)

Processes some given XML through an XSL file.

Parameters:
$si [SInput]: the current SInput object being translated.
$input [string]: the XML being processed.
Returns:
[string]: the processedXML.

Definition at line 58 of file STransXSL.php5.

Referenced by translate().

STransXSL::translate ( si  ) 

Translates the XSL into html.

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

Reimplemented from STrans.

Definition at line 43 of file STransXSL.php5.

References STrans::sendToTarget(), and transformJournalXML().


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

Generated on Wed Nov 24 02:06:48 2010 for Common by  doxygen 1.5.6