STransXSL Class Reference
[Translators]
Loads an Extensible Stylesheet Language and uses it to translate a given bit of XML.
More...
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.
Member Function Documentation
returns a brief description of this class.
- Returns:
- [string]: A brief description of this class.
Reimplemented from STrans.
STransXSL::getInFormat |
( |
|
) |
|
returns the desired input type
- Returns:
- [string]: Always returns the string 'media_interactivate', the only input this handles.
Reimplemented from STrans.
STransXSL::getOutFormat |
( |
|
) |
|
returns the output type
- Returns:
- [string]: Always returns the string 'html', the only output this gives.
Reimplemented from STrans.
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.
STransXSL::translate |
( |
$ |
si |
) |
|
Translates the XSL into html.
- Parameters:
-
- Returns:
- [boolean]: always returns true.
Reimplemented from STrans.
The documentation for this class was generated from the following file:
- pr2/translate/STransXSL.php5