STransPhotoXML Class Reference
[Translators]
A class that reads photoviewer XML and outputs a photoviewer.
More...
List of all members.
|
Public Member Functions |
| doc () |
| returns a brief description of this class.
|
| escapeForJavascriptOutput ($text) |
| escapes javascript sensitive characters for outputting strings.
|
| translate ($si) |
| Translates the photo XML into html.
|
Detailed Description
A class that reads photoviewer XML and outputs a photoviewer.
Member Function Documentation
returns a brief description of this class.
- Returns:
- [string]: A brief description of this class.
Reimplemented from STransXML.
STransPhotoXML::escapeForJavascriptOutput |
( |
$ |
text |
) |
|
escapes javascript sensitive characters for outputting strings.
- Parameters:
-
| $text | [string]: the text to be escaped. |
- Returns:
- [string]: the text with all the sensitive characters escaped.
STransPhotoXML::translate |
( |
$ |
si |
) |
|
Translates the photo XML into html.
- Parameters:
-
- Returns:
- [boolean]: returns false on error, nothing on success.
Reimplemented from STransXML.
The documentation for this class was generated from the following file:
- pr2/translate/STransPhotoXML.php5