Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
repository_googledocs

Files

file  access.php
 Plugin capabilities.
 
file  caches.php
 Googledocs repository cache definitions.
 
file  lib.php
 Google Docs repository data generator.
 
file  lib.php
 This plugin is used to access Google Drive.
 
file  provider.php
 Privacy Subsystem implementation for repository_googledocs.
 
file  rest.php
 Google Drive Rest API.
 

Namespaces

 repository_googledocs
  
 
 repository_googledocs\privacy
  
 

Classes

class  repository_googledocs
 Google Docs Plugin. More...
 
class  repository_googledocs\privacy\provider
 Privacy Subsystem for repository_googledocs implementing metadata and plugin providers. More...
 
class  repository_googledocs\rest
 Google Drive Rest API. More...
 
class  repository_googledocs_generator
 

Functions

 repository_googledocs_oauth2_system_scopes (\core\oauth2\issuer $issuer)
 Callback to get the required scopes for system account. More...
 

Variables

 $capabilities
 
 $definitions
 

Detailed Description

Function Documentation

◆ repository_googledocs_oauth2_system_scopes()

repository_googledocs_oauth2_system_scopes ( \core\oauth2\issuer  $issuer)

Callback to get the required scopes for system account.

Parameters
core\oauth2\issuer$issuer
Return values
string

Variable Documentation

◆ $capabilities

$capabilities
Initial value:
= array(
'repository/googledocs:view' => array(
'captype' => 'read',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
'user' => CAP_ALLOW
)
)
)

◆ $definitions

$definitions
Initial value:
= array(
'folder' => array(
'simplekeys' => false,
'simpledata' => true,
'staticacceleration' => true,
'staticaccelerationsize' => 10,
'canuselocalstore' => true
),
)
cache_store\MODE_APPLICATION
const MODE_APPLICATION
Application caches.
Definition: store.php:138
CAP_ALLOW
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115
CONTEXT_MODULE
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition: accesslib.php:130