STransStdXML3 Class Reference
[Translators]

The newest XML translator. Coordinates translation of the various SInput objects. Mostly interacts with the STransXML3Helper.php, handing tags to it. More...

Inheritance diagram for STransStdXML3:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 doc ()
 INSERT BRIEF DESCRIPTION HERE.
 getInFormat ()
 gets the desired input format (always XML). This will always return xml, because that is all this translator translates.
 getOutFormat ()
 the desired output format (always HTML). This will always return html, because that is all this translator can translate into.
 getPage ()
 Gets the current SPage object.
 translate ($si)
 gets the desired translator and creates an XML object for translation. The helper translates into HTML, which is automatically appended to the page. If the resource source code is in snap, is will just pull the source. Otherwise, it parses the root tag to find out what kind of resource it is (if there is no root tag it isn't happy). If the translation helper doesn't submit all the output to the page for it, it submits it itself (as in the case of XML Resources).


Detailed Description

The newest XML translator. Coordinates translation of the various SInput objects. Mostly interacts with the STransXML3Helper.php, handing tags to it.

Member Function Documentation

STransStdXML3::doc (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

Reimplemented from STransXML.

STransStdXML3::getInFormat (  ) 

gets the desired input format (always XML). This will always return xml, because that is all this translator translates.

Returns:
[string]: the string 'xml'.

Reimplemented from STransXML.

STransStdXML3::getOutFormat (  ) 

the desired output format (always HTML). This will always return html, because that is all this translator can translate into.

Returns:
[string]: the string 'html'.

Reimplemented from STransXML.

STransStdXML3::getPage (  ) 

Gets the current SPage object.

Returns:
[object]: the current page.

STransStdXML3::translate ( si  ) 

gets the desired translator and creates an XML object for translation. The helper translates into HTML, which is automatically appended to the page. If the resource source code is in snap, is will just pull the source. Otherwise, it parses the root tag to find out what kind of resource it is (if there is no root tag it isn't happy). If the translation helper doesn't submit all the output to the page for it, it submits it itself (as in the case of XML Resources).

Parameters:
$si [SInput]:

Reimplemented from STransXML.


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

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