The "translations" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| listTranslations ($q, $target, $optParams=array()) |
| Returns text translations from one language to another.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "translations" collection of methods.
Typical usage is: $translateService = new Google_Service_Translate(...); $translations = $translateService->translations;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ listTranslations()
Google_Service_Translate_Translations_Resource::listTranslations |
( |
| $q, |
|
|
| $target, |
|
|
| $optParams = array() ) |
Returns text translations from one language to another.
(translations.listTranslations)
- Parameters
-
string | $q | The text to translate |
string | $target | The target language into which the text should be translated |
array | $optParams | Optional parameters. |
@opt_param string source The source language of the text @opt_param string format The format of the text @opt_param string cid The customization id for translate
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Translate.php