[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/google/ -> readme_moodle.txt (source)

   1  Google APIs Client Library for PHP
   2  ==================================
   3  
   4  Only the source, LICENSE, README and autoloader files have been kept in this directory:
   5  
   6  - Copy /src/Google to /src/Google
   7  - Copy /LICENSE to LICENSE
   8  - Copy /README.md to README.md
   9  - Copy /autoload.php to autoload.php
  10  
  11  Here are the files that we have added.
  12  
  13  /lib.php
  14  
  15      Is a wrapper to get a Google_Client object with the default configuration
  16      that should be used throughout Moodle. It also takes care of including the
  17      required files and updating the include_path.
  18  
  19      Every use of the Google PHP API should always start by requiring this file.
  20      Apart from the wrapping of Google_Client above... it's also responsible for
  21      enabling the autoload of all the API classes.
  22  
  23      So, basically, every use of the Google Client API should be something like:
  24  
  25          require_once($CFG->libdir . '/google/lib.php');
  26          $client = get_google_client();
  27  
  28      And, from there, use the Client API normally. Everything will be autoloaded.
  29  
  30  /curlio.php
  31  
  32      An override of the default Google_IO_Curl class to use our Curl class
  33      rather then their implementation. When upgrading the library the default
  34      Curl class should be checked to ensure that its functionalities are covered
  35      in this file.
  36  
  37      This should not ever be used directly. The wrapper above uses it automatically.
  38  
  39  
  40  Information
  41  -----------
  42  
  43  Repository: https://github.com/google/google-api-php-client
  44  Documentation: https://developers.google.com/api-client-library/php/
  45  Global documentation: https://developers.google.com
  46  
  47  Downloaded version: 1.1.7


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1