Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_CivicInfo_Divisions_Resource Class Reference

The "divisions" collection of methods. More...

Inheritance diagram for Google_Service_CivicInfo_Divisions_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 search ($optParams=array())
 Searches for political divisions by their natural name or OCD ID.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "divisions" collection of methods.

Typical usage is: $civicinfoService = new Google_Service_CivicInfo(...); $divisions = $civicinfoService->divisions;

Member Function Documentation

◆ 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
Google_Exception

◆ search()

Google_Service_CivicInfo_Divisions_Resource::search ( $optParams = array())

Searches for political divisions by their natural name or OCD ID.

(divisions.search)

Parameters
array$optParamsOptional parameters.

@opt_param string query The search query. Queries can cover any parts of a OCD ID or a human readable division name. All words given in the query are treated as required patterns. In addition to that, most query operators of the Apache Lucene library are supported. See http://lucene.apache.org/core/2_9_4/queryparsersyntax.html

Return values
Google_Service_CivicInfo_DivisionSearchResponse

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