Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

(no description)

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

Defines 5 classes

Google_Service_Webfonts:: (1 method):
  __construct()

Google_Service_Webfonts_Webfonts_Resource:: (1 method):
  listWebfonts()

Google_Service_Webfonts_Webfont:: (16 methods):
  setCategory()
  getCategory()
  setFamily()
  getFamily()
  setFiles()
  getFiles()
  setKind()
  getKind()
  setLastModified()
  getLastModified()
  setSubsets()
  getSubsets()
  setVariants()
  getVariants()
  setVersion()
  getVersion()

Google_Service_Webfonts_WebfontFiles:: (0 methods):

Google_Service_Webfonts_WebfontList:: (4 methods):
  setItems()
  getItems()
  setKind()
  getKind()


Class: Google_Service_Webfonts  - X-Ref

Service definition for Webfonts (v1).

<p>
The Google Fonts Developer API.</p>

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

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

param: Google_Client $client

Class: Google_Service_Webfonts_Webfonts_Resource  - X-Ref

The "webfonts" collection of methods.
Typical usage is:
<code>
$webfontsService = new Google_Service_Webfonts(...);
$webfonts = $webfontsService->webfonts;
</code>

listWebfonts($optParams = array()   X-Ref
Retrieves the list of fonts currently served by the Google Fonts Developer
API (webfonts.listWebfonts)

param: array $optParams Optional parameters.
return: Google_Service_Webfonts_WebfontList

Class: Google_Service_Webfonts_Webfont  - X-Ref

setCategory($category)   X-Ref
No description

getCategory()   X-Ref
No description

setFamily($family)   X-Ref
No description

getFamily()   X-Ref
No description

setFiles($files)   X-Ref
No description

getFiles()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setLastModified($lastModified)   X-Ref
No description

getLastModified()   X-Ref
No description

setSubsets($subsets)   X-Ref
No description

getSubsets()   X-Ref
No description

setVariants($variants)   X-Ref
No description

getVariants()   X-Ref
No description

setVersion($version)   X-Ref
No description

getVersion()   X-Ref
No description

Class: Google_Service_Webfonts_WebfontList  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description