Search moodle.org's
Developer Documentation

See Release Notes

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

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

Google Documents Portfolio Plugin

Author: Dan Poltawski <talktodan@gmail.com>
License: http://www.gnu.org/copyleft/gpl.html GNU Public License
File Size: 265 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: portfolio_plugin_googledocs  - X-Ref

supported_formats()   X-Ref
Key in session which stores token (_drive_file is access level).


get_name()   X-Ref
No description

prepare_package()   X-Ref
No description

get_interactive_continue_url()   X-Ref
No description

expected_time($callertime)   X-Ref
No description

send_package()   X-Ref
No description

get_access_token()   X-Ref
Gets the access token from session and sets it to client.

return: null|string null or token.

set_access_token($token)   X-Ref
Sets the access token to session

param: string $token access token in json format
return:

steal_control($stage)   X-Ref
No description

post_control($stage, $params)   X-Ref
No description

allows_multiple_instances()   X-Ref
No description

has_admin_config()   X-Ref
No description

get_allowed_config()   X-Ref
No description

admin_config_form(&$mform)   X-Ref
No description

initialize_oauth()   X-Ref
No description

instance_sanity_check()   X-Ref
No description