The "detections" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| listDetections ($q, $optParams=array()) |
| Detect the language of text.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "detections" collection of methods.
Typical usage is: $translateService = new Google_Service_Translate(...); $detections = $translateService->detections;
◆ 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
-
◆ listDetections()
Google_Service_Translate_Detections_Resource::listDetections |
( |
| $q, |
|
|
| $optParams = array() ) |
Detect the language of text.
(detections.listDetections)
- Parameters
-
string | $q | The text to detect |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Translate.php