STransMediaFile Class Reference
[Translators]
This class translates file resources into html for display.
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
|
| translate ($si) |
| Translates the file resource into html.
|
Detailed Description
This class translates file resources into html for display.
Member Function Documentation
returns a brief description of this class
- Returns:
- [string]: A brief description of this class
Reimplemented from STrans.
STransMediaFile::getInFormat |
( |
|
) |
|
returns the desired input type
- Returns:
- [string]: Always returns the string 'media_file', the only input this handles.
Reimplemented from STrans.
STransMediaFile::getOutFormat |
( |
|
) |
|
returns the output type
- Returns:
- [string]: Always returns the string 'html', the only output this gives.
Reimplemented from STrans.
STransMediaFile::translate |
( |
$ |
si |
) |
|
Translates the file resource into html.
- Parameters:
-
- Returns:
- [boolean]: always returns true.
Reimplemented from STrans.
The documentation for this class was generated from the following file:
- pr2/translate/STransMediaFile.php5