Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Files | Namespaces | Classes | Functions | Variables
repository_googledocs

Files

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

Namespaces

namespace  repository_googledocs
  
 
namespace  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
)
)
)
const CAP_ALLOW
Allow permission, overrides CAP_PREVENT defined in parent contexts.
Definition: accesslib.php:115
const CONTEXT_MODULE
Course module context level - one instance for each course module.
Definition: accesslib.php:130

◆ $definitions

$definitions
Initial value:
= array(
'folder' => array(
'simplekeys' => false,
'simpledata' => true,
'staticacceleration' => true,
'staticaccelerationsize' => 10,
'canuselocalstore' => true
),
)
const MODE_APPLICATION
Application caches.
Definition: store.php:138