Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(no description)

File Size: 459 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 classes

Google_Service_Freebase:: (3 methods):
  __construct()
  reconcile()
  search()

Google_Service_Freebase_ReconcileCandidate:: (10 methods):
  setConfidence()
  getConfidence()
  setLang()
  getLang()
  setMid()
  getMid()
  setName()
  getName()
  setNotable()
  getNotable()

Google_Service_Freebase_ReconcileCandidateNotable:: (4 methods):
  setId()
  getId()
  setName()
  getName()

Google_Service_Freebase_ReconcileGet:: (8 methods):
  setCandidate()
  getCandidate()
  setCosts()
  getCosts()
  setMatch()
  getMatch()
  setWarning()
  getWarning()

Google_Service_Freebase_ReconcileGetCosts:: (4 methods):
  setHits()
  getHits()
  setMs()
  getMs()

Google_Service_Freebase_ReconcileGetWarning:: (6 methods):
  setLocation()
  getLocation()
  setMessage()
  getMessage()
  setReason()
  getReason()


Class: Google_Service_Freebase  - X-Ref

Service definition for Freebase (v1).

<p>
Find Freebase entities using textual queries and other constraints.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/freebase/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the Freebase service.

param: Google_Client $client

reconcile($optParams = array()   X-Ref
Reconcile entities to Freebase open data. (reconcile)

param: array $optParams Optional parameters.
return: Google_Service_Freebase_ReconcileGet

search($optParams = array()   X-Ref
Search Freebase open data. (search)

param: array $optParams Optional parameters.

Class: Google_Service_Freebase_ReconcileCandidate  - X-Ref

setConfidence($confidence)   X-Ref
No description

getConfidence()   X-Ref
No description

setLang($lang)   X-Ref
No description

getLang()   X-Ref
No description

setMid($mid)   X-Ref
No description

getMid()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setNotable(Google_Service_Freebase_ReconcileCandidateNotable $notable)   X-Ref
No description

getNotable()   X-Ref
No description

Class: Google_Service_Freebase_ReconcileCandidateNotable  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

Class: Google_Service_Freebase_ReconcileGet  - X-Ref

setCandidate($candidate)   X-Ref
No description

getCandidate()   X-Ref
No description

setCosts(Google_Service_Freebase_ReconcileGetCosts $costs)   X-Ref
No description

getCosts()   X-Ref
No description

setMatch(Google_Service_Freebase_ReconcileCandidate $match)   X-Ref
No description

getMatch()   X-Ref
No description

setWarning($warning)   X-Ref
No description

getWarning()   X-Ref
No description

Class: Google_Service_Freebase_ReconcileGetCosts  - X-Ref

setHits($hits)   X-Ref
No description

getHits()   X-Ref
No description

setMs($ms)   X-Ref
No description

getMs()   X-Ref
No description

Class: Google_Service_Freebase_ReconcileGetWarning  - X-Ref

setLocation($location)   X-Ref
No description

getLocation()   X-Ref
No description

setMessage($message)   X-Ref
No description

getMessage()   X-Ref
No description

setReason($reason)   X-Ref
No description

getReason()   X-Ref
No description